Ramana Inukonda Nagaraj created DRILL-839:
---------------------------------------------

             Summary: select from parquet file created using CTAS specific 
columns
                 Key: DRILL-839
                 URL: https://issues.apache.org/jira/browse/DRILL-839
             Project: Apache Drill
          Issue Type: Bug
          Components: Storage - Writer
            Reporter: Ramana Inukonda Nagaraj


CREATE TABLE  CTAS_parquetSelCol AS select cust_key,acctbal,address from 
`parquet_storage/customer_nonull.parquet`;

SELECT * FROM CTAS_parquetSelCol;


01:08:51.146 [64c9613b-ae8f-4caf-94f4-11d17248c80f:frag:0:0] DEBUG 
o.a.d.exec.work.foreman.QueryManager - New fragment status was provided to 
Foreman of profile {
  state: FAILED
  error {
    error_id: "758ed04e-6a1b-41d8-b1d3-bde2189bdced"
    endpoint {
      address: "drillats3.qa.lab"
      user_port: 31010
      control_port: 31011
      data_port: 31012
    }
    error_type: 0
    message: "Failure while running fragment. < DrillRuntimeException:[ 
java.io.IOException: can not read class parquet.format.PageHeader: Required 
field \'uncompressed_page_size\' was not found in serialized data! Struct: 
PageHeader(type:INDEX_PAGE, uncompressed_page_size:0, compressed_page_size:0) ] 
< IOException:[ can not read class parquet.format.PageHeader: Required field 
\'uncompressed_page_size\' was not found in serialized data! Struct: 
PageHeader(type:INDEX_PAGE, uncompressed_page_size:0, compressed_page_size:0) ] 
< TProtocolException:[ Required field \'uncompressed_page_size\' was not found 
in serialized data! Struct: PageHeader(type:INDEX_PAGE, 
uncompressed_page_size:0, compressed_page_size:0) ]"
  }





--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to