Closed akariv closed 4 years ago
In version 1.3.0, constraint checks were added.
The pattern constraint, though, was implemented using a like sql operator which is not POSIX RE compatible:
pattern
like
https://github.com/frictionlessdata/tableschema-sql-py/commit/11b41b27a991a347b9117ae312f2e1dd0ccb4fca#diff-06244424627478397c4e73620b8d452fR72
From the postgresql documentation, the correct operator should probably have been ~.
~
Please preserve this line to notify @roll (lead of this repository)
Overview
In version 1.3.0, constraint checks were added.
The
pattern
constraint, though, was implemented using alike
sql operator which is not POSIX RE compatible:https://github.com/frictionlessdata/tableschema-sql-py/commit/11b41b27a991a347b9117ae312f2e1dd0ccb4fca#diff-06244424627478397c4e73620b8d452fR72
From the postgresql documentation, the correct operator should probably have been
~
.Please preserve this line to notify @roll (lead of this repository)