linghengqian opened a new issue, #32786: URL: https://github.com/apache/shardingsphere/issues/32786
## Feature Request **For English only**, other languages will not be accepted. Please pay attention on issues you submitted, because we maybe need more details. If no response anymore and we cannot make decision by current information, we will **close it**. Please answer these questions before submitting your issue. Thanks! ### Is your feature request related to a problem? - No. ### Describe the feature you would like. - `io.opentelemetry:opentelemetry-bom` should be updated from `1.31.0` to `1.41.0`. - The `io.opentelemetry:opentelemetry-bom` version used by the master branch is too old, which results in the following error when trying to export data to `Elastic APM Server` through the `OpenTelemetry Plugin` of `ShardingSphere Agent`. This uses ShardingSphere JDBC and ShardingSphere Agent from https://github.com/apache/shardingsphere/commit/6e356c8be9d4b751ed9dad934f547a7975979478 . ```shell 2024-09-03T14:19:20.849+08:00 ERROR 210444 --- [shardingsphere-smoke-tests] [cat-handler-138] s.a.c.a.e.t.InstanceMethodAdviceExecutor : Failed to execute the pre-method of method `parse` in class `org.apache.shardingsphere.infra.parser.ShardingSphereSQLParserEngine`, Cannot invoke "org.apache.shardingsphere.shade.io.opentelemetry.context.ImplicitContextKeyed.storeInContext(org.apache.shardingsphere.shade.io.opentelemetry.context.Context)" because "value" is null. 2024-09-03T14:19:20.849+08:00 ERROR 210444 --- [shardingsphere-smoke-tests] [cat-handler-138] s.a.c.a.e.t.InstanceMethodAdviceExecutor : Failed to execute the post-method of method `parse` in class `org.apache.shardingsphere.infra.parser.ShardingSphereSQLParserEngine`, Cannot invoke "org.apache.shardingsphere.shade.io.opentelemetry.api.trace.Span.setStatus(org.apache.shardingsphere.shade.io.opentelemetry.api.trace.StatusCode)" because "span" is null. 2024-09-03T14:19:20.849+08:00 INFO 210444 --- [shardingsphere-smoke-tests] [cat-handler-138] ShardingSphere-SQL : Logic SQL: SELECT * FROM t_order 2024-09-03T14:19:20.850+08:00 INFO 210444 --- [shardingsphere-smoke-tests] [cat-handler-138] ShardingSphere-SQL : Actual SQL: ds_0 ::: SELECT * FROM t_order_0 UNION ALL SELECT * FROM t_order_1 UNION ALL SELECT * FROM t_order_2 2024-09-03T14:19:20.851+08:00 INFO 210444 --- [shardingsphere-smoke-tests] [cat-handler-138] ShardingSphere-SQL : Logic SQL: SELECT i.* FROM t_order o, t_order_item i WHERE o.order_id = i.order_id 2024-09-03T14:19:20.851+08:00 INFO 210444 --- [shardingsphere-smoke-tests] [cat-handler-138] ShardingSphere-SQL : Actual SQL: ds_0 ::: SELECT i.* FROM t_order_0 o, t_order_item_0 i WHERE o.order_id = i.order_id 2024-09-03T14:19:20.851+08:00 INFO 210444 --- [shardingsphere-smoke-tests] [cat-handler-138] ShardingSphere-SQL : Actual SQL: ds_0 ::: SELECT i.* FROM t_order_0 o, t_order_item_1 i WHERE o.order_id = i.order_id 2024-09-03T14:19:20.851+08:00 INFO 210444 --- [shardingsphere-smoke-tests] [cat-handler-138] ShardingSphere-SQL : Actual SQL: ds_0 ::: SELECT i.* FROM t_order_0 o, t_order_item_2 i WHERE o.order_id = i.order_id 2024-09-03T14:19:20.851+08:00 INFO 210444 --- [shardingsphere-smoke-tests] [cat-handler-138] ShardingSphere-SQL : Actual SQL: ds_0 ::: SELECT i.* FROM t_order_1 o, t_order_item_0 i WHERE o.order_id = i.order_id 2024-09-03T14:19:20.851+08:00 INFO 210444 --- [shardingsphere-smoke-tests] [cat-handler-138] ShardingSphere-SQL : Actual SQL: ds_0 ::: SELECT i.* FROM t_order_1 o, t_order_item_1 i WHERE o.order_id = i.order_id 2024-09-03T14:19:20.851+08:00 INFO 210444 --- [shardingsphere-smoke-tests] [cat-handler-138] ShardingSphere-SQL : Actual SQL: ds_0 ::: SELECT i.* FROM t_order_1 o, t_order_item_2 i WHERE o.order_id = i.order_id 2024-09-03T14:19:20.851+08:00 INFO 210444 --- [shardingsphere-smoke-tests] [cat-handler-138] ShardingSphere-SQL : Actual SQL: ds_0 ::: SELECT i.* FROM t_order_2 o, t_order_item_0 i WHERE o.order_id = i.order_id 2024-09-03T14:19:20.851+08:00 INFO 210444 --- [shardingsphere-smoke-tests] [cat-handler-138] ShardingSphere-SQL : Actual SQL: ds_0 ::: SELECT i.* FROM t_order_2 o, t_order_item_1 i WHERE o.order_id = i.order_id 2024-09-03T14:19:20.851+08:00 INFO 210444 --- [shardingsphere-smoke-tests] [cat-handler-138] ShardingSphere-SQL : Actual SQL: ds_0 ::: SELECT i.* FROM t_order_2 o, t_order_item_2 i WHERE o.order_id = i.order_id 2024-09-03T14:19:20.852+08:00 INFO 210444 --- [shardingsphere-smoke-tests] [cat-handler-138] ShardingSphere-SQL : Logic SQL: SELECT * FROM t_address 2024-09-03T14:19:20.852+08:00 INFO 210444 --- [shardingsphere-smoke-tests] [cat-handler-138] ShardingSphere-SQL : Actual SQL: ds_0 ::: SELECT * FROM t_address 2024-09-03T14:19:20.852+08:00 INFO 210444 --- [shardingsphere-smoke-tests] [cat-handler-138] ShardingSphere-SQL : Logic SQL: INSERT INTO t_order_item (order_id, user_id, phone, status) VALUES (2024, 2024, '13800000001', 'INSERT_TEST') 2024-09-03T14:19:20.852+08:00 INFO 210444 --- [shardingsphere-smoke-tests] [cat-handler-138] ShardingSphere-SQL : Actual SQL: ds_0 ::: INSERT INTO t_order_item_0 (order_id, user_id, phone, status, ORDER_ITEM_ID) VALUES (2024, 2024, '13800000001', 'INSERT_TEST', 1037732721100587008) 2024-09-03T14:19:20.853+08:00 INFO 210444 --- [shardingsphere-smoke-tests] [cat-handler-138] ShardingSphere-SQL : Logic SQL: SELECT * FROM t_order_item WHERE user_id = 2024 2024-09-03T14:19:20.853+08:00 INFO 210444 --- [shardingsphere-smoke-tests] [cat-handler-138] ShardingSphere-SQL : Actual SQL: ds_0 ::: SELECT * FROM t_order_item_0 WHERE user_id = 2024 ``` - This ultimately manifests itself in Kibana's incomplete links. -  -- 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]
