incubator-doris 怎么读取Doris的某张表的某个分区的数据到dataframe或者rdd

uqdfh47h  于 2022-04-22  发布在  Java
关注(0)|答案(3)|浏览(315)

我在Doris中建了一个分区表,由于数据量比较大,想转换成dataframe的时候只是拿某个分区中的数据,请问有什么方法吗?

lymgl2op

lymgl2op1#

select * from test partition p1;
The data syntax for selecting data from a special partition is the same as mysql.

6qqygrtg

6qqygrtg2#

select * from test partition p1;
The data syntax for selecting data from a special partition is the same as mysql.

I know how to write it, But how to get to RDD or dataframe?

vsdwdz23

vsdwdz233#

用mysql连接不行吗?

相关问题