zabetak commented on code in PR #6316:
URL: https://github.com/apache/hive/pull/6316#discussion_r2831872314


##########
ql/src/test/queries/clientpositive/distribution_key_constant_value.q:
##########
@@ -0,0 +1,7 @@
+CREATE TABLE test (col1 string, col2 string);
+
+EXPLAIN CBO
+SELECT col1 FROM test
+WHERE col2 = 'a'
+DISTRIBUTE BY col1, col2     
+SORT BY col1, col2; 

Review Comment:
   If you use the query I shared above (with col2 in the SELECT) it doesn't 
throw the `Invalid table alias`.



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