dinky icon indicating copy to clipboard operation
dinky copied to clipboard

[Bug] [dinky-metadata-hive] Bug java.util.MissingFormatArgumentException: Format specifier '%s'

Open cantiandashu opened this issue 9 months ago • 1 comments

Search before asking

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

What happened

After the hive data source is registered, the hive table information cannot be browsed on the data development page, and the SQL cannot be automatically generated, as shown below

Image

Image

The error log is shown below:

Caused by: java.util.MissingFormatArgumentException: Format specifier '%s' at java.util.Formatter.format(Formatter.java:2519) ~[?:1.8.0_231] at java.util.Formatter.format(Formatter.java:2455) ~[?:1.8.0_231] at java.lang.String.format(String.java:2940) ~[?:1.8.0_231] at org.dinky.metadata.query.HiveQuery.tablesSql(HiveQuery.java:38) ~[classes/:?] at org.dinky.metadata.driver.AbstractJdbcDriver.listTables(AbstractJdbcDriver.java:301) ~[classes/:?]

What you expected to happen

After the hive data source is registered, the hive table information can be browsed on the data development page, and the SQL can be automatically generated,as shown below

Image

Image

How to reproduce

1.register the hive data source In the registration center 2.browse table informance and SQL generation of hive data source on Data Development Center

Anything else

No response

Version

dev

Are you willing to submit PR?

  • [x] Yes I am willing to submit a PR!

Code of Conduct

cantiandashu avatar Mar 23 '25 14:03 cantiandashu

Hello @, this issue has not been active for more than 30 days. This issue will be closed in 7 days if there is no response. If you have any questions, you can comment and reply.

你好 @, 这个 issue 30 天内没有活跃,7 天后将关闭,如需回复,可以评论回复。

github-actions[bot] avatar May 01 '25 00:05 github-actions[bot]