Skip to content
  • u0jing's avatar
    3b5eb708
    [SPARK-3118][SQL]add "SHOW TBLPROPERTIES tblname;" and "SHOW COLUMNS (FROM|IN)... · 3b5eb708
    u0jing authored
    [SPARK-3118][SQL]add "SHOW TBLPROPERTIES tblname;" and "SHOW COLUMNS (FROM|IN) table_name [(FROM|IN) db_name]" support
    
    JIRA issue: [SPARK-3118] https://issues.apache.org/jira/browse/SPARK-3118
    
    eg:
    > SHOW TBLPROPERTIES test;
    SHOW TBLPROPERTIES test;
    numPartitions	0
    numFiles	1
    transient_lastDdlTime	1407923642
    numRows	0
    totalSize	82
    rawDataSize	0
    
    eg:
    > SHOW COLUMNS  in test;
    SHOW COLUMNS  in test;
    OK
    Time taken: 0.304 seconds
    id
    stid
    bo
    
    Author: u0jing <u9jing@gmail.com>
    
    Closes #2034 from u0jing/spark-3118 and squashes the following commits:
    
    b231d87 [u0jing] add golden answer files
    35f4885 [u0jing] add 'show columns' and 'show tblproperties' support
    3b5eb708
    [SPARK-3118][SQL]add "SHOW TBLPROPERTIES tblname;" and "SHOW COLUMNS (FROM|IN)...
    u0jing authored
    [SPARK-3118][SQL]add "SHOW TBLPROPERTIES tblname;" and "SHOW COLUMNS (FROM|IN) table_name [(FROM|IN) db_name]" support
    
    JIRA issue: [SPARK-3118] https://issues.apache.org/jira/browse/SPARK-3118
    
    eg:
    > SHOW TBLPROPERTIES test;
    SHOW TBLPROPERTIES test;
    numPartitions	0
    numFiles	1
    transient_lastDdlTime	1407923642
    numRows	0
    totalSize	82
    rawDataSize	0
    
    eg:
    > SHOW COLUMNS  in test;
    SHOW COLUMNS  in test;
    OK
    Time taken: 0.304 seconds
    id
    stid
    bo
    
    Author: u0jing <u9jing@gmail.com>
    
    Closes #2034 from u0jing/spark-3118 and squashes the following commits:
    
    b231d87 [u0jing] add golden answer files
    35f4885 [u0jing] add 'show columns' and 'show tblproperties' support
Loading