How to Query parquet data from Amazon Athena?

后端 未结 3 949
遥遥无期
遥遥无期 2021-02-08 22:51

Athena creates a temporary table using fields in S3 table. I have done this using JSON data. Could you help me on how to create table using parquet data?

I have tried fo

3条回答
  •  时光说笑
    2021-02-08 23:34

    If your table definition is valid but not getting any rows, try this

    -- The MSCK REPAIR TABLE command will load all partitions into the table. -- This command can take a while to run depending on the number of partitions to be loaded.

    MSCK REPAIR TABLE {tablename}

提交回复
热议问题