You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
JdbcUtil.FQNComponents.of expects com.zaxxer.hikari.HikariDataSource datasource to report cloudSQL lineage, otherwise it will return null and lineage will be done for regular sql based on hostname, db and table segments.
Should we replace org. apache. commons. dbcp2.BasicDataSource with com.zaxxer.hikari.HikariDataSource ? or maybe we should instruct somehow users on how to set it up?
Issue Priority
Priority: 3 (minor)
Issue Components
Component: Python SDK
Component: Java SDK
Component: Go SDK
Component: Typescript SDK
Component: IO connector
Component: Beam YAML
Component: Beam examples
Component: Beam playground
Component: Beam katas
Component: Website
Component: Infrastructure
Component: Spark Runner
Component: Flink Runner
Component: Samza Runner
Component: Twister2 Runner
Component: Hazelcast Jet Runner
Component: Google Cloud Dataflow Runner
The text was updated successfully, but these errors were encountered:
thanks Yi, I've seen that we recommend Hikari in all the samples. org.apache.commons.dbcp2.BasicDataSource provides similar set information (url + properties) like Hikari so maybe we can think about supporting both. BasicDataSource access to properties is package protected so this would require again reflection to make it quickly.
Maybe JDBCIO should have lineage some kind of lineage/FQNComponents provider within DataSourceProviderFromDataSourceConfiguration, passed to ReadFn/WriteFn that would allow customization if needed.
What happened?
JDBCIO with DataSourceProviderFromDataSourceConfiguration is building datasources using method
later this dataSource is used to build lineage:
JdbcUtil.FQNComponents.of expects com.zaxxer.hikari.HikariDataSource datasource to report cloudSQL lineage, otherwise it will return null and lineage will be done for regular sql based on hostname, db and table segments.
Should we replace org. apache. commons. dbcp2.BasicDataSource with com.zaxxer.hikari.HikariDataSource ? or maybe we should instruct somehow users on how to set it up?
Issue Priority
Priority: 3 (minor)
Issue Components
The text was updated successfully, but these errors were encountered: