Skip to content

[Bug] 读取 parquet 时,报错:error happens when parsing stmt: null #50583

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
2 of 3 tasks
hongbo-miao opened this issue May 2, 2025 · 2 comments
Open
2 of 3 tasks

Comments

@hongbo-miao
Copy link

hongbo-miao commented May 2, 2025

Search before asking

  • I had searched in the issues and found no similar issues.

Version

2.1.7

What's Wrong?

查询 S3 上的 parquet 时报错

Execution failed: Error Failed to execute sql: java.lang.Exception: error happens when parsing stmt: null

DESC FUNCTION s3 (
  "URI" = "s3://my-bucket/my.parquet",
  "s3.endpoint" = "https://s3.us-west-2.amazonaws.com",
  "s3.region" = "us-west-2",
  "s3.access_key" = "xxx",
  "s3.secret_key" = "xxx",
  "format" = "parquet",
  "use_path_style" = "true"
);

Image

试了这个也报同样的错:

SELECT * FROM S3 (
  "URI" = "s3://my-bucket/my.parquet",
  "format" = "parquet",
  "s3.endpoint" = "https://s3.us-west-2.amazonaws.com",
  "s3.region" = "us-west-2",
  "s3.access_key" = "xxx",
  "s3.secret_key" = "xxx"
);

What You Expected?

期望不报错。谢谢!

How to Reproduce?

我的部署代码:https://github.com/hongbo-miao/hongbomiao.com/blob/5e25ab8407af87975f358460571a464d8883e95c/kubernetes/argo-cd/applications/production-hm/doris/manifests/hm-doris-application.yaml

Anything Else?

换了个有效的 parquet,但还是同样的错。🥲

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

@hongbo-miao hongbo-miao changed the title [Bug] Execution failed: Error Failed to execute sql: java.lang.Exception: error happens when parsing stmt: null [Bug] 读取 parquet 时,报错:error happens when parsing stmt: null May 2, 2025
@alanl1n
Copy link

alanl1n commented May 6, 2025

doris的这个ui在发起一些查询的时候,编译sql的时候会有点问题。你可以拿这个sql 通过mysql终端进去在发起查询试试看

@hongbo-miao
Copy link
Author

谢谢 @alanl1n ! 确实是这样,UI 有这个问题,通过 MySQL 终端没有问题。
那我先继续开着这个 ticket 希望将来 UI 也可以解决这个问题吧。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants