You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by "Amar1404 (via GitHub)" <gi...@apache.org> on 2023/12/02 07:57:35 UTC

[I] Querying Hudi Table Created With Version 0.12.3 Not Working on Trino [hudi]

Amar1404 opened a new issue, #10228:
URL: https://github.com/apache/hudi/issues/10228

   **_Tips before filing an issue_**
   
   - Have you gone through our [FAQs](https://hudi.apache.org/learn/faq/)?
   
   - Join the mailing list to engage in conversations and get faster support at dev-subscribe@hudi.apache.org.
   
   - If you have triaged this as a bug, then file an [issue](https://issues.apache.org/jira/projects/HUDI/issues) directly.
   
   **Describe the problem you faced**
   
   I have hudi created with version 0.12.3, when I am trying to Query it using Trino it is able to even start read the tables.
   But when i create the same table with version 0.12.1. I am able to query it using Trino
   
   **To Reproduce**
   
   Steps to reproduce the behavior:
   
   1. Trino EKS Setup **File trino.txt**
   2. Create Hudi Table using EMR with Hudi DELTASTREAMER 0.12.3. JAR of Utility. https://repo1.maven.org/maven2/org/apache/hudi/hudi-utilities-bundle_2.12/0.12.3/hudi-utilities-bundle_2.12-0.12.3.jar
   3. Properties OF HUDI USED BELOW:
         "hoodie.schema.on.read.enable": "true"
         "hoodie.cleaner.commits.retained": "3",
         "hoodie.datasource.write.reconcile.schema": "true",
         "hoodie.parquet.compression.codec": "zstd",
         "hoodie.delete.shuffle.parallelism": "200",
         "hoodie.parquet.max.file.size": "268435456",
         "hoodie.upsert.shuffle.parallelism": "200",
         "hoodie.datasource.hive_sync.support_timestamp": "true",
         "hoodie.datasource.write.keygenerator.class": "org.apache.hudi.keygen.CustomKeyGenerator",
         "hoodie.datasource.write.hive_style_partitioning": "true",
         "hoodie.insert.shuffle.parallelism": "200",
         "hoodie.parquet.small.file.limit": "134217728",
         "hoodie.bootstrap.parallelism": "200",
         "hoodie.embed.timeline.server": "true",
         "hoodie.bulkinsert.shuffle.parallelism": "200",
         "hoodie.datasource.hive_sync.enable": "true",
         "hoodie.filesystem.view.type": "EMBEDDED_KV_STORE",
         "hoodie.clean.max.commits": "4"
         hoodie.metadata.enable: true
         spark.hadoop.fs.s3.canned.acl: BucketOwnerFullControl
         hoodie.datasource.hive_sync.support_timestamp=true
   5. I am using KAFKA as Source, here and syncing in table in glue Catalog.
   6. When I run simple query on Trino  like "Select * from hudi_table " It is not able to load.
   7.SAME properties used for crearting HUDI table with Version 0.12.1. I am able to query it.
   
   **Expected behavior**
   [trino.txt](https://github.com/apache/hudi/files/13533750/trino.txt)
   
   
   A clear and concise description of what you expected to happen.
   
   **Environment Description**
   
   * Hudi version : 0.12.3
   
   * Spark version : 3.3
   
   * Hive version :
   
   * Hadoop version :
   
   * Storage (HDFS/S3/GCS..) :S3
   
   * Running on Docker? (yes/no) : no
   
   
   **Additional context**
   
   Add any other context about the problem here.
   
   **Stacktrace**
   
   ```Add the stacktrace of the error.```
   
   


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@hudi.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Querying Hudi Table Created With Version 0.12.3 Not Working on Trino 430 [hudi]

Posted by "ad1happy2go (via GitHub)" <gi...@apache.org>.
ad1happy2go commented on issue #10228:
URL: https://github.com/apache/hudi/issues/10228#issuecomment-1849982860

   @Amar1404 Do you get any error when you query. @codope Do you have any insights on this?


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@hudi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Querying Hudi Table Created With Version 0.12.3 Not Working on Trino 430 [hudi]

Posted by "Amar1404 (via GitHub)" <gi...@apache.org>.
Amar1404 commented on issue #10228:
URL: https://github.com/apache/hudi/issues/10228#issuecomment-1859552349

   Hi @ad1happy2go - I have found the issue in Syncing of Table in Catalog, Since I am using GLue Catalog. But when I tried creating a table using the HudiSyncTool class the table is not working in trino. But when I used the AwsGlueCatalogSync it is working fine. Not sure what is the difference in between these two classes.


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@hudi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Querying Hudi Table Created With Version 0.12.3 Not Working on Trino 430 [hudi]

Posted by "ad1happy2go (via GitHub)" <gi...@apache.org>.
ad1happy2go commented on issue #10228:
URL: https://github.com/apache/hudi/issues/10228#issuecomment-1919280265

   @Amar1404 Ideally HiveSync also should delegate to AwsGlueCatalogSync if Glue is enabled for EMR. So ideally should not cause any difference.


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@hudi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Querying Hudi Table Created With Version 0.12.3 Not Working on Trino 430 [hudi]

Posted by "Amar1404 (via GitHub)" <gi...@apache.org>.
Amar1404 closed issue #10228: Querying  Hudi Table Created With Version 0.12.3 Not Working on Trino 430
URL: https://github.com/apache/hudi/issues/10228


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@hudi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org