Open vshinde-medacist opened 9 months ago
create catalog syntax is incorrect. WITH should be PROPERTIES you need to specify jdbc_url & driver_url
something like this CREATE CATALOG demo_catalog PROPERTIES('type' = 'jdbc', 'default-database' = 'db_test', 'username' = 'root', 'password' = '', 'jdbc_url' = 'jdbc:mysql://10.0.2.15:9030', 'driver_url' = 'mysql-connector-java-8.0.25.jar');
refer to this for details https://doris.apache.org/docs/dev/sql-manual/sql-reference/Data-Definition-Statements/Create/CREATE-CATALOG/ https://doris.apache.org/docs/dev/lakehouse/multi-catalog/jdbc/
@rohitrs1983 - thanks for the suggestion, I tried your suggestion, getting the SQL parser exception as below:
Exception in thread "main" org.apache.flink.table.api.SqlParserException: SQL parse failed. Encountered "PROPERTIES" at line 1, column 21.
Was expecting one of:
<EOF>
"WITH" ...
";" ...
I think - how Flink SQL parser supposed to know Doris specific DDL!
Hi Team,
Seeking advice on below.
We are conducting a PoC and are in the process of evaluating Flink and Doris integration using the below versions and dependencies.
Doris is up and running successfully (set up by following Quick Start from official Doris documentation). Able to access FE using -
http://10.0.2.15:8030
Below is the PoC code snippet (Java maven project) being used to read the CSV file as Flink FileSystem source and insert it into Doris table as a sink
To access Doris table, I need to switch to Doris catalog but getting
illegalargumentexception
exception while trying to create Doris catalog from Flink. Running code from Intellij Idea and not as a job by submitting a jar to Flink cluster.Can someone please help with the below: