Cannot migrate query that contains a function over a join column #1372
Labels
bug
Something isn't working
High priority
Created by Linear-GitHub Sync
Migrations
Created by Linear-GitHub Sync
Milestone
Description
When testing readyset with benchbase's tpc-h benchmark, several queries contain a join condition, expressed in the
where
clause that causes a peculiar error when at least one of the columns is wrapped with a function.Here is the query
Here is the error, as seen in the mysql client (carriage returns added by me):
The problem occurs because of this
where
predicate (which is a join condition):Additional data points:
ascii
,length
, …) and they all exhibited the same error.AND ascii(substring(c_state from 1 for 1)) ='f'
), and it successfully migrated.where ascii(first_name) = ascii(last_name)
), and this successfully migrated as well.from
clause, and it failed to migrate.Thus, i think it is because at least one of the join condition's columns is wrapped in a function.
Steps to reproduce
ReadySet version
git sha
b647d97e3f1a0dfbe47168d0814a67f003066bb6
cli command
The text was updated successfully, but these errors were encountered: