wangxianghu opened a new pull request #3007:
URL: https://github.com/apache/hudi/pull/3007


   …rd to represent all the columns
   
   ## What is the purpose of the pull request
   
   When the user wants to derive one or more columns from the existing columns 
and the
   existing columns are all needed, the user needs to spell all the columns 
they need in the SQL.
   
   This will be very troublesome and time-consuming when we have dozens or 
hundreds of columns. we can save trouble by using a wildcard in the SQL to 
represent all the columns.
   
   that means if we have "id", "name", "age", "ts" these four columns already 
and we want to add a new column driver from ts, we can use
   
   "select *, FROM_UNIXTIME(ts / 1000, 'yyyyMMdd') as dt from table_name"
   
   to represent
   
   "select id, name, age, ts, FROM_UNIXTIME(ts / 1000, 'yyyyMMdd') as dt from 
table_name"
   
   ## Brief change log
   
   This pull request is already covered by existing tests, such as *(please 
describe tests)*.
   
   ## Committer checklist
   
    - [ ] Has a corresponding JIRA in PR title & commit
    
    - [ ] Commit message is descriptive of the change
    
    - [ ] CI is green
   
    - [ ] Necessary doc changes done or have another open PR
          
    - [ ] For large changes, please consider breaking it into sub-tasks under 
an umbrella JIRA.


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

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to