Skip to content
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

HiveMetadataApi getTableProperties returns 404 #85

Open
oilers opened this issue May 25, 2017 · 0 comments
Open

HiveMetadataApi getTableProperties returns 404 #85

oilers opened this issue May 25, 2017 · 0 comments

Comments

@oilers
Copy link

oilers commented May 25, 2017

The following code I would expect to get the table properties of a database as per http://docs.qubole.com/en/latest/rest-api/hive_metadata_api/get-table-properties.html

QdsClient client = QdsClientFactory.newClient(new DefaultQdsConfiguration("<apiToken>"))
println JsonOutput.toJson(client.hiveMetadata().getTableProperties("<tableName>").invoke().get())

However, instead I get a 404 response. I can run this command through the rest api directly no problem using the same token and schema/table name.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant