github-actions[bot] commented on code in PR #62439: URL: https://github.com/apache/doris/pull/62439#discussion_r3084407228
########## docker/thirdparties/docker-compose/hive/scripts/create_preinstalled_scripts/run86.hql: ########## @@ -0,0 +1,32 @@ + +use `multi_catalog`; + +-- LzoTextInputFormat: primary LZO text InputFormat from hadoop-lzo +CREATE TABLE text_lzo_format ( + id INT, + value INT, + name STRING, + score DOUBLE, + dt DATE +) +ROW FORMAT DELIMITED +FIELDS TERMINATED BY '\001' +STORED AS + INPUTFORMAT 'com.hadoop.compression.lzo.LzoTextInputFormat' + OUTPUTFORMAT 'org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' +LOCATION '/user/doris/preinstalled_data/text_lzo'; + +-- DeprecatedLzoTextInputFormat: legacy mapred-API wrapper, same file format +CREATE TABLE text_deprecated_lzo_format ( + id INT, + value INT, + name STRING, + score DOUBLE, + dt DATE +) +ROW FORMAT DELIMITED +FIELDS TERMINATED BY '\001' +STORED AS + INPUTFORMAT 'com.hadoop.mapred.DeprecatedLzoTextInputFormat' Review Comment: This looks unsafe in the current Hive docker environment. We already have an existing note in `regression-test/suites/external_table_p0/hive/test_external_catalog_hive.groovy` saying the docker env throws `Cannot find class 'com.hadoop.mapred.DeprecatedLzoTextInputFormat'`. `hive-metastore.sh` executes every `create_preinstalled_scripts/*.hql` during bootstrap and exits on failure, so adding this DDL here can break the entire Hive preinstall phase before the new regression case runs. Please either add the missing hadoop-lzo classpath support in the Hive image/scripts or avoid creating the deprecated-wrapper table in preinstall until that environment issue is fixed.` -- 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]
