Fokko opened a new pull request, #7369: URL: https://github.com/apache/iceberg/pull/7369
``` ➜ iceberg git:(master) ✗ python3.9 Python 3.9.16 (main, Dec 7 2022, 10:06:04) [Clang 14.0.0 (clang-1400.0.29.202)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> import os >>> >>> from pyflink.datastream import StreamExecutionEnvironment >>> >>> env = StreamExecutionEnvironment.get_execution_environment() >>> >>> env.add_jars("file:///Users/fokkodriesprong/Desktop/iceberg/flink/v1.17/flink-runtime/build/libs/iceberg-flink-runtime-1.17-1.3.0-SNAPSHOT.jar") >>> env.add_jars("file:///Users/fokkodriesprong/url-connection-client-2.20.18.jar") >>> env.add_jars("file:///Users/fokkodriesprong/bundle-2.20.18.jar") >>> >>> from pyflink.table import StreamTableEnvironment >>> >>> table_env = StreamTableEnvironment.create(env) >>> >>> table_env.execute_sql(""" ... CREATE CATALOG tabular WITH ( ... 'type'='iceberg', ... 'catalog-type'='rest', ... 'uri'='https://api.tabular.io/ws', ... 'credential'='abc', ... 'warehouse'='sandbox', ... 'io-impl'='org.apache.iceberg.aws.s3.S3FileIO' ... ) ... """).print() OK >>> >>> >>> table_env.execute_sql(""" ... USE CATALOG tabular ... """).print() OK >>> >>> table_env.execute_sql(""" ... SELECT pickup_time, dropoff_time FROM examples.nyc_taxi_yellow LIMIT 5 ... """).print() +----+----------------------------+----------------------------+ | op | pickup_time | dropoff_time | +----+----------------------------+----------------------------+ | +I | 2020-10-01 02:00:00.000000 | 2020-10-01 02:43:00.000000 | | +I | 2020-10-01 02:00:47.000000 | 2020-10-01 02:38:41.000000 | | +I | 2020-10-01 02:01:00.000000 | 2020-10-01 03:21:00.000000 | | +I | 2020-10-01 02:01:00.000000 | 2020-10-01 02:19:00.000000 | | +I | 2020-10-01 02:01:30.000000 | 2020-10-01 02:13:41.000000 | +----+----------------------------+----------------------------+ 5 rows in set ``` Resolves #7332 -- 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: issues-unsubscr...@iceberg.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org For additional commands, e-mail: issues-h...@iceberg.apache.org