I'm working on updating a Sequel adapter (sequel-vertica) for my own 
nefarious purposes (actually, I'm adding support for COPY FROM STDIN), and 
I am running across a problem trying to get all the existing tests to pass.

It seems that when Sequel sees a dataset filter like: @ds.filter(name: /bc/) 
that it wants to turn this into WHERE "name" ~ /bc/ but Vertica doesn't 
support ~; instead it wants to use WHERE "name" REGEXP_LIKE('bc'). When I 
traced this, it seemed to be a result of looking up a set of filter types 
in Sequel::SQL::StringExpression::LIKE_MAP. I'm not clear on how I could 
coerce the Vertica adapter to use REGEXP_LIKE instead of ~ in this context. 
What should I try?

-=Eric

-- 
You received this message because you are subscribed to the Google Groups 
"sequel-talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sequel-talk+unsubscr...@googlegroups.com.
To post to this group, send email to sequel-talk@googlegroups.com.
Visit this group at https://groups.google.com/group/sequel-talk.
For more options, visit https://groups.google.com/d/optout.

Reply via email to