hive sql ast

- TOK_CREATETABLE

      - TOK_TABNAME
      
      - TOK_LIKETABLE
      
      - TOK_QUERY            <------------------------------------------------------up
      
                                  - alias
      
                            - TOK_QUERY

                            - alias  
      
             -  TOK_INSERT
      
                      - TOK_DESTINATION
      
                      - TOK_INSERT_INTO
                                - TOK_TAB
                      - TOK_SELECT
      
                             - TOK_SELEXPR
      
                                      - TOK_ALLCOLREF
                                      - TOK_TABLE_OR_COL
                                            - colname
                      - TOK_WHERE
      
                      - TOK_GROUPBY
      
      - alias






 
  
especially:
 
  
	 - TOK_SUBQUERY
             - TOK_UNIONALL
		- TOK_QUERY 
	 	- TOK_UNIONALL
	
		-TOK_QUERY
 
  
             - alias   
 
  
 
  
 
  
 
  
 
 
  
 
  
 
  
 
  
 
  
 
  
 
  
 
  
 
  
 
  
 
  
 
 

你可能感兴趣的:(技术)