Details
-
Bug
-
Status: Resolved
-
Blocker
-
Resolution: Fixed
-
None
-
None
Description
The following out join asserts:
0: jdbc:drill:schema=dfs> select store.store_id, store.store_name, store.store_city, store.store_state, store.store_postal_code, store.store_country, region.region_id, region.sales_city from store full outer join region on store.region_id = region.region_id order by region.region_id;
Query failed: org.apache.drill.exec.rpc.RpcException: Remote failure while running query.[error_id: "9b8caa72-50a1-4ea5-8bb2-622a540ece67"
endpoint {
address: "qa-node118.qa.lab"
user_port: 31010
control_port: 31011
data_port: 31012
}
error_type: 0
message: "Failure while setting up Foreman. < AssertionError:[ Internal error: Error while applying rule PushProjectPastJoinRule, args [rel#46877:ProjectRel.NONE.ANY([]).[](child=rel#46876:Subset#2.NONE.ANY([]).[],store_id=$2,store_name=$3,store_city=$4,store_state=$5,store_postal_code=$6,store_country=$7,region_id=$9,sales_city=$10), rel#46875:JoinRel.NONE.ANY([]).[](left=rel#46873:Subset#0.ENUMERABLE.ANY([]).[],right=rel#46874:Subset#1.ENUMERABLE.ANY([]).[],condition==($1, $3),joinType=full)] ] < AssertionError"
]
Error: exception while executing query (state=,code=0)
0: jdbc:drill:schema=dfs>