wangwuhua11 commented on issue #435:
URL: https://github.com/apache/sedona-db/issues/435#issuecomment-3822220469

   > 抱歉你打开时没注意到这个问题!
   > 
   > 
我认为你需要的设置是指向非亚马逊的S3端点来获得兼容服务。如果有效请告诉我!https://datafusion.apache.org/user-guide/cli/datasources.html#s3。`'aws.endpoint'`
   
   
   Thank you very much.!The following work has been effective:
   `sd.sql(
       f"""
       CREATE EXTERNAL TABLE test
       STORED AS PARQUET
       OPTIONS(
           'aws.access_key_id' '{endpoint_url}',
           'aws.secret_access_key' '{aws_access_key_id}',
           'aws.endpoint' '{endpoint_url}',
           'aws.allow_http' true,
       )
       LOCATION 's3://path/data/xx.parquet';
       """
   )
   
   sd.sql(
       f"""
       select * from test;
       """
   ).show()`


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to