starudream opened a new issue, #17227: URL: https://github.com/apache/doris/issues/17227
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/doris/issues?q=is%3Aissue) and found no similar issues. ### Version [1.2.2-rc01](https://github.com/apache/doris/tree/1.2.2-rc01) ### What's Wrong? ``` mysql> SELECT * FROM test_postgres.public.t1; ERROR 1105 (HY000): errCode = 2, detailMessage = NoClassDefFoundError: org/postgresql/jdbc/TimestampUtils$ParsedTimestamp ``` ### What You Expected? no error ### How to Reproduce? - pg ```shell docker run --name pg -e POSTGRES_PASSWORD=123456 -p 5432:5432 -d postgres:13 ``` ```sql CREATE TABLE t1 ( id INT, ts TIMESTAMP, ts_tz TIMESTAMPTZ ); INSERT INTO t1 (id, ts, ts_tz) VALUES (1, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP); ``` - doris ```sql CREATE RESOURCE test_postgres PROPERTIES ( "type" = "jdbc", "user" = "postgres", "password" = "123456", "jdbc_url" = "jdbc:postgresql://127.0.0.1:5432/postgres", "driver_url" = "http://127.0.0.1:8888/postgresql-42.5.4.jar", "driver_class" = "org.postgresql.Driver" ); ``` ```sql CREATE CATALOG test_postgres WITH RESOURCE test_postgres; ``` ```sql SELECT * FROM test_postgres.public.t1; ``` ### Anything Else? _No response_ ### Are you willing to submit PR? - [ ] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
