Apache Flink 中文用户邮件列表
Search
everywhere
only in this topic
Advanced Search
Flink-1.11.1 读写 Hive 问题
Classic
List
Threaded
♦
♦
Locked
2 messages
nashcen
Reply
|
Threaded
Open this post in threaded view
♦
♦
|
Flink-1.11.1 读写 Hive 问题
Hello
各位,经过3天的踩坑,我已经能够从IDEA,用Flink访问Hive,但是如何查看Hive里的数据库、表、以及表里的数据,并把它们打印出来,目前还不太清楚。
以下是Hive中的表,
<
http://apache-flink.147419.n8.nabble.com/file/t817/1600410319%281%29.jpg
>
Idea中查询出来的库与表信息,不完整
<
http://apache-flink.147419.n8.nabble.com/file/t817/1600410478.jpg
>
Idea中查询表中数据,报错
<
http://apache-flink.147419.n8.nabble.com/file/t817/1600414228%281%29.jpg
>
--
Sent from:
http://apache-flink.147419.n8.nabble.com/
Rui Li
Reply
|
Threaded
Open this post in threaded view
♦
♦
|
Re: Flink-1.11.1 读写 Hive 问题
Hi,
打印数组可以用Arrays.toString方法。获取hive表失败的堆栈是完整的么,感觉底下应该还有root cause?
On Fri, Sep 18, 2020 at 3:32 PM nashcen <
[hidden email]
> wrote:
> Hello
>
> 各位,经过3天的踩坑,我已经能够从IDEA,用Flink访问Hive,但是如何查看Hive里的数据库、表、以及表里的数据,并把它们打印出来,目前还不太清楚。
> 以下是Hive中的表,
> <
http://apache-flink.147419.n8.nabble.com/file/t817/1600410319%281%29.jpg
>
>
> Idea中查询出来的库与表信息,不完整
> <
http://apache-flink.147419.n8.nabble.com/file/t817/1600410478.jpg
>
> Idea中查询表中数据,报错
> <
http://apache-flink.147419.n8.nabble.com/file/t817/1600414228%281%29.jpg
>
>
>
>
>
>
> --
> Sent from:
http://apache-flink.147419.n8.nabble.com/
>
--
Best regards!
Rui Li
Free forum by Nabble
Edit this page