Apache Flink 中文用户邮件列表
Search
everywhere
only in this topic
Advanced Search
hive Streaming Reading 无法分组统计
Classic
List
Threaded
♦
♦
Locked
2 messages
丁浩浩
Reply
|
Threaded
Open this post in threaded view
♦
♦
|
hive Streaming Reading 无法分组统计
SELECT
id,
count(1)
FROM
hive_user_parquet
GROUP BY
id
/*+ OPTIONS('streaming-source.enable'='true', 'streaming-source.consume-start-offset'='2020-08-18') */
通过分组统计好像是会报语法错误的,这是什么原因造成的呢
[hidden email]
Benchao Li-2
Reply
|
Threaded
Open this post in threaded view
♦
♦
|
Re: hive Streaming Reading 无法分组统计
Hi,
你的hint的用法应该不太对,可以参考下文档[1]
[1]
https://ci.apache.org/projects/flink/flink-docs-release-1.11/dev/table/sql/hints.html
[hidden email]
<
[hidden email]
> 于2020年8月19日周三 上午12:17写道:
> SELECT
> id,
> count(1)
> FROM
> hive_user_parquet
> GROUP BY
> id
> /*+ OPTIONS('streaming-source.enable'='true',
> 'streaming-source.consume-start-offset'='2020-08-18') */
> 通过分组统计好像是会报语法错误的,这是什么原因造成的呢
>
>
>
>
[hidden email]
>
--
Best,
Benchao Li
Free forum by Nabble
Edit this page