Details
-
New Feature
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
None
-
None
-
None
-
ghx-label-1
Description
When we working, we always write code like
'''
CREATE TABLE xxxx AS
SELECT
exp_of_a item_a – comment for a
, exp_of_b item_b – comment for b
, exp_of_c item_c – comment for c
FROM ...
'''.
Can we capture the comments of the item or design some syntax at these places and add these info into table column comment naturally? (instead of adding comment separately in current syntax)
I have looked at the source code and found we should have nothing like this now.
https://github.com/cloudera/Impala/blob/114ac271fa4ac991d7c3392128354c0d056cb975/fe/src/main/cup/sql-parser.cup#L2301