The flink connector is developed based on Scala 2.12.x, because the APIs
between major Scala versions are not compatible, so please use Scala 2.12.x to
compile flink connector
------------------ ???????? ------------------
??????:
"dev"
<[email protected]>;
????????: 2021??5??9??(??????) ????4:15
??????: "dev"<[email protected]>;
????: Re: flinksql????doris??????
Question in English:
Using Doris Flink connector
If the table is empty, the program will stop after a few seconds of query.
If there is data in the table and the data cannot be queried, an error will
be reported after a few seconds of query:
[ERROR] Could not execute SQL statement.Reason:java.lang.NoSuchMethodError:
scala.collection.JavaConversions$.deprecated$u0020asScalaSet(Ljava/util/Set;)Lscala/collection/mutable/Set;
@JiaFeng, Zhang
Ling Miao
[email protected] <[email protected]> ??2021??5??8??????
????6:07??????
> ????FlinkSQL??sql-client??????????????????????Doris??
> Flink SQL> CREATE TABLE flink_doris_source
> > (
> > siteid INT,
> > citycode INT,
> > username STRING,
> > pv INT
> > )
> > WITH (
> > 'connector' = 'doris',
> > 'fenodes' = 'xxx:8030',
> > 'table.identifier' =
'example_db.table1',
> > 'username' = 'root',
> > 'password' = 'admin123',
> > 'sink.batch.size' = '1'
> > );
> ????????????
> select * from flink_doris_source;
>
> ??????????????????????????????
> ?????????????????????????? ??????????????????
> [ERROR] Could not execute SQL
> statement.Reason:java.lang.NoSuchMethodError:
>
>
scala.collection.JavaConversions$.deprecated$u0020asScalaSet(Ljava/util/Set;)Lscala/collection/mutable/Set;
>
> doris-version:0.13 ????????????0.14??????????
> flink-version:1.11.3
> doris-flink-connector-version:1.0.0
> ??????????????
>
>
>
> [email protected]
>