From postgreSQL:
SQL only specifies the integer types integer (or int) and smallint. The type bigint, and the type names int2, int4, and int8 are extensions, which are shared with various other SQL database systems.
So in DatabaseDefinition.Builder column(), I got type name is int4 instead of int, which causes this error No enum constant edu.cmu.cs.db.peloton.test.common.SqlType.int4.
Actual parsed name is different from the type name (BOOLEAN -> bool, etc). Need a helper function to do this.
From postgreSQL: SQL only specifies the integer types integer (or int) and smallint. The type bigint, and the type names int2, int4, and int8 are extensions, which are shared with various other SQL database systems.
So in
DatabaseDefinition.Builder column()
, I got type name isint4
instead ofint
, which causes this errorNo enum constant edu.cmu.cs.db.peloton.test.common.SqlType.int4
.Actual parsed name is different from the type name (BOOLEAN -> bool, etc). Need a helper function to do this.