-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Andres Taylor <[email protected]>
- Loading branch information
Showing
3 changed files
with
70 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,39 +1 @@ | ||
# Add your test case here for debugging and run go test -run=One. | ||
# ',' join | ||
"select music.col from user, music" | ||
{ | ||
"QueryType": "SELECT", | ||
"Original": "select music.col from user, music", | ||
"Instructions": { | ||
"OperatorType": "Join", | ||
"Variant": "Join", | ||
"JoinColumnIndexes": "1", | ||
"TableName": "user_music", | ||
"Inputs": [ | ||
{ | ||
"OperatorType": "Route", | ||
"Variant": "SelectScatter", | ||
"Keyspace": { | ||
"Name": "user", | ||
"Sharded": true | ||
}, | ||
"FieldQuery": "select 1 from user where 1 != 1", | ||
"Query": "select 1 from user", | ||
"Table": "user" | ||
}, | ||
{ | ||
"OperatorType": "Route", | ||
"Variant": "SelectScatter", | ||
"Keyspace": { | ||
"Name": "user", | ||
"Sharded": true | ||
}, | ||
"FieldQuery": "select music.col from music where 1 != 1", | ||
"Query": "select music.col from music", | ||
"Table": "music" | ||
} | ||
] | ||
} | ||
} | ||
{ | ||
} | ||
# Add your test case here for debugging and run go test -run=One. |