apache / apache/hudi

[SUPPORT] Flinksql:select count(*) from table; No value present in Option

Open
#13,019 12 comments 0 reactions 0 assignees View on GitHub
area:usability engine:flink
Dominant language
Java
Stars
6.2k
Forks
2.5k
Avg merge
2d 8h
Merged PRs (30d)
111

Description

**_Tips before filing an issue_**

- Have you gone through our [FAQs](https://hudi.apache.org/learn/faq/)?

- Join the mailing list to engage in conversations and get faster support at dev-subscribe@hudi.apache.org.

- If you have triaged this as a bug, then file an [issue](https://issues.apache.org/jira/projects/HUDI/issues) directly.

**Describe the problem you faced**

A clear and concise description of the problem.

**To Reproduce**

Steps to reproduce the behavior:

1. flink版本1.14.6和hudi版本0.13.1,hadoop版本3.1.0
2. 执行 Flinksql:select count(*) from table;
3. 偶然发生 java.util.NoSuchElementException: No value present in Option
4.

**Expected behavior**

A clear and concise description of what you expected to happen.

**Environment Description**

* Hudi version :0.13.1

* flink version :1.14.6

* Hive version :

* Hadoop version :3.1.0

* Storage (HDFS/S3/GCS..) :

* Running on Docker? (yes/no) :no

**Additional context**

Add any other context about the problem here.

**Stacktrace**

```Add the stacktrace of the error.```
[ERROR] Could not execute SOL statement. Reason:
java.util.NoSuchElementException: No value present in Option

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the Flink SQL `select count(*) from table` query with Hudi 0.13.1, Flink 1.14.6, and Hadoop 3.1.0, then inspect the available `NoSuchElementException` stacktrace. Done means the query no longer intermittently fails with `No value present in Option` and the reproduction details identify the relevant failure context.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, sql
Domain
data-engineering, stream-processing
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.