vsbace opened a new issue, #1929:
URL: https://github.com/apache/cloudberry/issues/1929

   ### Apache Cloudberry version
   
   We are trying to test Apache Cloudberry 2.1.0 on Astra Linux 1.8.2 (Debian 
12 based)
   
   ### What happened
   
   Hello,
   
   CB utility analyzedb does not work 
   `gpadmin@qc1:/data/cbdb/master-1/gpseg-1$ analyzedb -d dwh -p 10
   20260826:18:17:57:163972 analyzedb:qc1:gpadmin-[INFO]:-Starting analyzedb 
with args: -d dwh -p 10
   20260826:18:17:57:163972 analyzedb:qc1:gpadmin-[INFO]:-Getting and verifying 
input tables and materialized views...
   20260826:18:17:58:163972 analyzedb:qc1:gpadmin-[INFO]:-Checking for tables 
with stale stats...
   20260826:18:17:58:163972 analyzedb:qc1:gpadmin-[ERROR]:-'ascii' codec can't 
encode characters in position 13-19: ordinal not in range(128)
   Traceback (most recent call last):
     File "/usr/local/cloudberry-db/bin/analyzedb", line 377, in execute
       heap_partitions = get_heap_tables_set(self.conn, input_tables_set)  # 
set((schema1,table1), ...])
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
     File "/usr/local/cloudberry-db/bin/analyzedb", line 1005, in 
get_heap_tables_set
       oid_str = get_oid_str(input_tables_set)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
     File "/usr/local/cloudberry-db/bin/analyzedb", line 977, in get_oid_str
       return ','.join(map((lambda x: regclass_schema_tbl(x[0], x[1])), 
table_list))
              
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
     File "/usr/local/cloudberry-db/bin/analyzedb", line 977, in <lambda>
       return ','.join(map((lambda x: regclass_schema_tbl(x[0], x[1])), 
table_list))
                                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
     File "/usr/local/cloudberry-db/bin/analyzedb", line 985, in 
regclass_schema_tbl
       return "to_regclass('%s')" % (pg.escape_string(schema_tbl))
                                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   UnicodeEncodeError: 'ascii' codec can't encode characters in position 13-19: 
ordinal not in range(128)
   20260826:18:17:58:163972 
analyzedb:kvd-dwh-qc1-c1:gpadmin-[CRITICAL]:-analyzedb failed. (Reason=''ascii' 
codec can't encode characters in position 13-19: ordinal not in range(128)') 
exiting...`
   
   ### What you think should happen instead
   
   _No response_
   
   ### How to reproduce
   
   I am not sure about this problem.
   
   ### Operating System
   
   Astra Linux 1.8.2 (Debian 12 based)
   
   ### Anything else
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [x] Yes, I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [x] I agree to follow this project's [Code of 
Conduct](https://github.com/apache/cloudberry/blob/main/CODE_OF_CONDUCT.md).
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to