This repository has been archived by the owner on Sep 27, 2019. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix CSV scanner for handling filter predicate on a VARCHAR column
CSV scan does not care about delimiter in a CSV file, but query processor should care the end of each column value, i.e., ‘\0’. Because query parser parses each selection predicate by adding ‘\0’ at the end of the predicate value, query processor cannot handle the query correctly if we ignore the existence of delimiter in a raw tuple in CSV file. This simple solution fix the case by replacing delimiter to ‘\0’, and thus StringCompare in type/type_util.h works correctly.
- Loading branch information