-
Notifications
You must be signed in to change notification settings - Fork 5.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Presto not able query Hive partition external table #12025
Comments
When you create external table, you need to define all the partitions. |
Can the msck repair command run from Presto? |
Yes thanks. It did worked.
…On Fri 7 Dec, 2018, 1:03 PM shlomialfasi ***@***.*** wrote:
Can the msck repair command run from Presto?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#12025 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AqlcRO_G00Vo-rPlj9bbGJn7l9LQLS41ks5u2hnEgaJpZM4ZGbUE>
.
|
No, it's a hive command. |
I also facing same problem. MSCK repair I did. I am able to query in Hive. But still presto not able to access... |
i have noticed that after msck repair, i needed to run a select query in hive before presto can pick up the change and show results for select queries.. no idea why though.. |
Hello from 2021. At some point, looks like Presto has added |
I have created the External table on hive from hadoop path with year and month partitions.
I have connected the hive with presto. I am able to query the data in hive, but the same table is not returning the data with presto(returning 0 rows).
Presto: 0.213
presto:retaildemov2> select * from customer; customer_id | account_num | lname | fname | mi | address1 | address2 | address3 | address4 | city | state_province | postal_code | country | customer_region_id | phone1 | phone2 | birthdate | marital_sta -------------+-------------+-------+-------+----+----------+----------+----------+----------+------+----------------+-------------+---------+--------------------+--------+--------+-----------+------------ (0 rows)
num_cars_owned | integer | | fullname | varchar | | event_ts | timestamp | | year | varchar | partition key | month | varchar | partition key |
The text was updated successfully, but these errors were encountered: