Hi, all
I wrote a custom ScannableTable and override the scan(context, filters) method 
to implement the searching function.
When I sent a SQL command like

select * from PERSONS where NAME=‘bluejoe’ and AGE>30

In the filters parameter, I found the filter on column `AGE` is parsed properly 
like `>($2, 30)`

While the filter on column `NAME` is parsed as:

=(CAST($1):CHAR(7) CHARACTER SET "ISO-8859-1" COLLATE 
"ISO-8859-1$en_US$primary" NOT NULL, 'bluejoe’)

Why the column identifier`NAME` is transformed? How can I get the real column 
$1? Or is there anyway to prevent the transformation?

Many thanks!

Best regards,
Zhihong SHEN
———————————————
Zhihong SHEN, Ph. D., Senior Engineer
Big Data Application Service Technology Laboratory,
Computer Network Information Center, Chinese Academy of Sciences
office phone:+86-10-58812516
mobile:+86-13671116520

Reply via email to