Import initial version from source
Fix collation problem with non-same collations
Incorrect data type use