adamjoneill edited a comment on issue #1325: presto - querying nested object in parquet file created by hudi URL: https://github.com/apache/incubator-hudi/issues/1325#issuecomment-585777129 Had some success, if i added a property to the object of simple type ie. not a nested object hudi saves the parquet and the presto query (select * and nested) appear to work. ``` const valueToUse = { ...order, tickets: { items: [ { dummyId: 2, // <-- added this property ticketType: { id: 258815, }, }, ], }, }; ``` Just to be sure, i saved the json to parquet using ``` dataFrame.withColumn("year", year(col("eventTimestamp"))) .withColumn("month", month(col("eventTimestamp"))) .withColumn("day", dayofmonth(col("eventTimestamp"))) .write .mode(SaveMode.Append) .partitionBy(typeOfEventColumnName, "year", "month", "day") .parquet(rawOutPath) ``` had AWS glue crawl over it to create a table. Then ran a query in presto against the table and `select * from table` worked fine, whereas on the hudi parquet it failed
---------------------------------------------------------------- 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: [email protected] With regards, Apache Git Services
