thomasrebele commented on PR #6825: URL: https://github.com/apache/hive/pull/6825#issuecomment-6031789874
According to the [TPC-DS specification](https://www.tpc.org/TPC_Documents_Current_Versions/pdf/TPC-DS_v4.0.0.pdf) (Table 2-14 on page 34), c_customer_id should have the type `CHAR(16)`. It seems that the script to create the table for the new metastore dump used the type `string` instead: ``` > select DISTINCT t."TBL_NAME" AS table_name, c."COLUMN_NAME", c."TYPE_NAME" FROM "DBS" d, "TBLS" t, "SDS" s, "COLUMNS_V2" c WHERE d."DB_ID" = t."DB_ID" and t."SD_ID" = s."SD_ID" and s."CD_ID" = c."CD_ID" and c."COLUMN_NAME" = 'c_customer_id'; table_name | COLUMN_NAME | TYPE_NAME ------------+---------------+----------- customer | c_customer_id | string (1 row) ```` @zabetak, would it be ok to fix it in the PostgresTPCDS#install method, or is it required to update the database dump and container image? -- 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]
