Aggarwal-Raghav commented on code in PR #6578:
URL: https://github.com/apache/hive/pull/6578#discussion_r3569689720
##########
ql/src/test/queries/clientpositive/parquet_string_to_date_vectorization.q:
##########
@@ -0,0 +1,25 @@
+CREATE TABLE repro_parquet_string (
+ id INT,
+ col1 STRING
+) STORED AS PARQUET;
+
+INSERT INTO repro_parquet_string VALUES (1, '2026-01-01');
+
+CREATE EXTERNAL TABLE repro_parquet_date (
+ id INT,
+ col1 DATE
+) STORED AS PARQUET
+LOCATION '${hiveconf:hive.metastore.warehouse.dir}/repro_parquet_string';
+
+CREATE TABLE small_table (
+ id INT,
+ date_col DATE
+);
+INSERT INTO small_table VALUES (1, '2026-01-01');
+
+SET hive.auto.convert.join=true;
+SET hive.vectorized.execution.enabled=false;
Review Comment:
it will not work for now.
1. Should we support it? Because I was surprised that no one has faced this
existing JIRA till now for String -> Date usecase.
2. Then there will be TimestampTZ etc types as well
If we want to support it can we do that in separate JIRA ? (improvement type)
--
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]