JuiceFV commented on issue #9097:
URL: https://github.com/apache/iceberg/issues/9097#issuecomment-1815870262

   > @JuiceFV this isn't really an Iceberg issue, but rather an issue that you 
need to provide the correct jar for postgres that contains the [JDBC 
driver](https://jdbc.postgresql.org/). Can you please double-check that the 
Postgres JDBC Driver is on the classpath?
   
   Sure, I explicitly specified the postgresql driver in the classpath, but 
still have the same error.
   
   ```python
   env_settings = EnvironmentSettings.new_instance().in_streaming_mode().build()
   t_env = StreamTableEnvironment.create(environment_settings=env_settings)
   t_env.get_config().set("pipeline.jars", 
f"file://{FLINK_JAR};file:///home/batman/.m2/repository/org/postgresql/postgresql/42.6.0/postgresql-42.6.0.jar")
   t_env.get_config().set("pipeline.classpaths", 
f"file://{FLINK_JAR};file:///home/batman/.m2/repository/org/postgresql/postgresql/42.6.0/postgresql-42.6.0.jar")
   ```
   
   The most suspicious is that a metadata is written to a database. I've been 
looking for info in the flink community, but still nothing(


-- 
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

Reply via email to