A quick note for the time being, which I will hopefully have time to expand a bit later.
The test_result() suite runs a number of data type tests which I think rely on data type names which may not be coextensive across DBMS. For example, the data_logical() tries to cast the integer 1 to a boolean value. However, SQL Server for example, does not have a BOOLEAN type; rather it has a BIT type.
Is there some way that we can map type names across different DBMS to make these tests more backend agnostic?
A quick note for the time being, which I will hopefully have time to expand a bit later.
The
test_result()suite runs a number of data type tests which I think rely on data type names which may not be coextensive across DBMS. For example, thedata_logical()tries to cast the integer1to abooleanvalue. However, SQL Server for example, does not have aBOOLEANtype; rather it has aBITtype.Is there some way that we can map type names across different DBMS to make these tests more backend agnostic?