Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

*timestamp/time precision is 0-6

Using the catalog

In Program


Code Block
// java
tEnv.registerCatalog(name, new PostgresJDBCCatalog(...))

Yaml configs for SQL CLI

Code Block
catalogs:
	- name: ...
	  type: postgres
	  username: xxx
	  password: yyy
	  base_url: jdbc:... 
      default-database: ... # optional

...