question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Unsupported SQL of sctl:explain

See original GitHub issue

Bug Report

Which version of ShardingSphere did you use?

5.0.0-RC1-SNAPSHOT

Which project did you use? ShardingSphere-JDBC or ShardingSphere-Proxy?

ShardingSphere-Proxy

Expected behavior

mysql> sctl:explain select 1;
+-----------------+----------+
| datasource_name | sql      |
+-----------------+----------+
| ds_0            | select 1 |
+-----------------+----------+

Actual behavior

mysql>  sctl:explain select 1;
ERROR 10002 (C1000): 2Unknown exception: [Unsupported SQL of `sctl:explain select 1`]

Reason analyze (If you can)

Steps to reproduce the behavior, such as: SQL to execute, sharding rule configuration, when exception occur etc.

sctl:explain select 1;

Example codes for reproduce this issue (such as a github link).

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:7 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
tristaZerocommented, Jul 29, 2020

@lwtdev Hi It has been fixed already, welcome your further test.

0reactions
kimmkingcommented, Jul 29, 2020
mysql> sctl:explain select * from test;
+-----------------+----------------------+
| datasource_name | sql                  |
+-----------------+----------------------+
| test            | select * from test00 |
| test            | select * from test01 |
| test            | select * from test02 |
| test            | select * from test03 |
+-----------------+----------------------+
4 rows in set (0.01 sec)

mysql> sctl:explain select 1;
+-----------------+----------+
| datasource_name | sql      |
+-----------------+----------+
| test            | select 1 |
+-----------------+----------+
1 row in set (0.01 sec)

Read more comments on GitHub >

github_iconTop Results From Across the Web

Microsoft SQL Server Unsupported Version Detection
I'd like to know how plugin: Microsoft SQL Server Unsupported Version Detection is verifying MSSQL version? Is looking for her in the registry?...
Read more >
Unsupported SQL Server Features for In-Memory OLTP
This topic discusses SQL Server features that aren't supported for use with memory-optimized objects. Plus, the final section lists features ...
Read more >
Unsupported SQL Functions in Workbench - Domo Dojo
Is anyone aware of some SQL functions being unsupported in Workbench? I have been using a small query that contains both charindex and ......
Read more >
Resolve custom SQL data source exception error in QuickSight
You're using unsupported data types or functions. Resolution. If you receive errors when running AWS Command Line Interface (AWS CLI) commands, ...
Read more >
Db2 11 - SQL error codes - IBM
THE SQL STATEMENT IS NOT SUPPORTED; -144. INVALID SECTION NUMBER number; Start of change -147 End of change. ALTER FUNCTION function-name FAILED BECAUSE ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found