soumyakanti3578 commented on code in PR #6274:
URL: https://github.com/apache/hive/pull/6274#discussion_r2718387841


##########
ql/src/test/queries/clientpositive/parquet_join_dec_col_diff_pre_scale.q:
##########
@@ -0,0 +1,21 @@
+CREATE TABLE table_a (col_dec_a decimal(12,7));
+CREATE TABLE table_b(col_dec_b decimal(15,5));
+INSERT INTO table_a VALUES (12345.6789101);
+INSERT INTO table_b VALUES (1234567891.01112);
+
+set hive.default.fileformat=parquet;
+
+explain create table target as
+select table_a.col_dec_a target_col
+from table_a
+left outer join table_b on
+table_a.col_dec_a = table_b.col_dec_b;
+
+create table target as
+select table_a.col_dec_a target_col
+from table_a
+left outer join table_b on
+table_a.col_dec_a = table_b.col_dec_b;
+
+desc target;
+select * from target;

Review Comment:
   I think you are missing a new line here.



-- 
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