qubole / qds-sdk-java

A Java library that provides the tools you need to authenticate with, and use the Qubole Data Service API.

Home Page:https://api.qubole.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

HiveMetadataApi getTableProperties returns 404

oilers opened this issue · comments

commented

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.