Replies: 2 comments
-
so do i, help us please~ |
Beta Was this translation helpful? Give feedback.
0 replies
-
Solution for Using TPC-DS Parquet Data with Trino (v472) via Hive Connector1. Fix Configuration (
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I am new to Trino and want to do some benchmarking. I am using version 472, and trying to work with Trino using TPC-DS data stored on local disk (I currently don't want to try with tpcds connector which generates data on the fly). The data is in parquet format. I am trying to use the hive connector ( I am unsure if this is the option to choose).
The data is stored here.
~/tpcds_local/tpcds-data$ ls
call_center catalog_sales customer_demographics income_band promotion store time_dim web_returns
catalog_page customer date_dim inventory reason store_returns warehouse web_sales
catalog_returns customer_address household_demographics item ship_mode store_sales web_page web_site
In hive.properties, I have added this info
connector.name=hive
hive.metastore=file
hive.metastore.catalog.dir=local:///home/user/tpcds_local/tpcds-data
fs.native-local.enabled=true
hive.non-managed-table-creates-enabled=true
hive.non-managed-table-writes-enabled=true
When I create the table using
...
WITH (
external_location = 'file:///home/user/tpcds_local/tpcds-data/customer',
format = 'PARQUET'
);
, there is no data being populated.
How do I populate the data from the local filesystem?
Request some help on this
Beta Was this translation helpful? Give feedback.
All reactions