-
Notifications
You must be signed in to change notification settings - Fork 320
Closed
Labels
communityissue from communityissue from communityresolveproblem has been fixed by developerproblem has been fixed by developer
Milestone
Description
- dble version: 2.19.05.0
- preconditions :
no - configs:
schema.xml
<table name="test1" dataNode="dn1,dn2,dn3,dn4" rule="sharding-by-mod4"/>
rule.xml
<tableRule name="sharding-by-mod4">
<rule>
<columns>id</columns>
<algorithm>hashmod4</algorithm>
</rule>
</tableRule>
<function name="hashmod4" class="Hash">
<property name="partitionCount">4</property>
<property name="partitionLength">1</property>
</function>
server.xml
- steps:
step1. execute sql using mysql client
select test1.id,test1.id+1 as rpda_0 from test1 order by rpda_0 ASC
-
expect result:
- successfully
-
real result:
1.
mysql> select test1.id,test1.id+1 asrpda_0from test1 order byrpda_0ASC;
ERROR 4004 (42S22): column rpda_0 not found -
supplements:
- explain result
mysql> explain select test1.id,test1.id+1 asrpda_0from test1 order byrpda_0ASC;
ERROR 1105 (HY000): column rpda_0 not found
mysql>
- explain result
2、dble log
dble log file has no error info
Metadata
Metadata
Assignees
Labels
communityissue from communityissue from communityresolveproblem has been fixed by developerproblem has been fixed by developer