-
|
Hi, databenders. I want to know if it is possible to query data from s3 directly? Take CREATE TABLE IF NOT EXISTS hive.iris.iris_parquet (
sepal_length DOUBLE,
sepal_width DOUBLE,
petal_length DOUBLE,
petal_width DOUBLE,
class VARCHAR
)
WITH (
external_location = 's3a://iris/iris_parquet',
format = 'PARQUET'
);Then, we can query the data directly without SELECT
sepal_length,
class
FROM hive.iris.iris_parquet
LIMIT 10; |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 7 replies
-
|
Absolutely! |
Beta Was this translation helpful? Give feedback.
-
|
Also, I think they are still doing different things and targeting different scenarios:
|
Beta Was this translation helpful? Give feedback.
-
|
That's right, @sundy-li |
Beta Was this translation helpful? Give feedback.
-
|
I am working on it in this PR: #4266
It will be used for In databend, every operator unit will be a processor, we can measure and profiling them in an unified way. |
Beta Was this translation helpful? Give feedback.
-
|
Can we base on the stage(External and Internal) to do this? @sundy-li Snowflake external table: |
Beta Was this translation helpful? Give feedback.
Also, I think they are still doing different things and targeting different scenarios:
slow way, suites for small file or many pieces small files with Parquet format.