trinodb / trino

Official repository of Trino, the distributed SQL query engine for big data, formerly known as PrestoSQL (https://trino.io)
https://trino.io
Apache License 2.0
10.49k stars 3.02k forks source link

trino/hive: Honor ignore-absent-partitions option #24195

Open coquebg opened 1 day ago

coquebg commented 1 day ago

Description

Per documentation, Hive plugin for Trino should Honor property "hive.ignore-absent-partitions=true" At the moment, it throws error

TrinoExternalError(type=EXTERNAL, name=HIVE_FILE_NOT_FOUND, message="Partition location does not exist: gs://<bucket name here>/.../.../.../.../")

Additional context and related issues

Code is changed to skip exception only if this property is set; Otherwise, the old behavior is preserved

Release notes

( ) This is not user-visible or is docs only, and no release notes are required. ( ) Release notes are required. Please propose a release note for me. ( ) Release notes are required, with the following suggested text:

cla-bot[bot] commented 1 day ago

Thank you for your pull request and welcome to our community. We could not parse the GitHub identity of the following contributors: Plamen Stoev. This is most likely caused by a git client misconfiguration; please make sure to:

  1. check if your git client is configured with an email to sign commits git config --list | grep email
  2. If not, set it up using git config --global user.email email@example.com
  3. Make sure that the git commit email is configured in your GitHub account settings, see https://github.com/settings/emails