Closed asitemade4u closed 6 months ago
The issue was coming from the typing of the kuq_plc
column in MariaDB: a bit
.
Obviously, after being transposed through FDW into Postgres, it was not well recognized by Malloy.
Solved by re-typing kuq-plc
into a smallint
in MariaDB.
Hi, So, in my Postgres database (
pis
) I quote foreign tables from a MySQL database using the FDW_MySQL extension. Works great. One of the tables isTags
in the schemazxt
.Malloy seamlessly recognizes the foreign tables when using its
table
syntax. For example:That is GREAT.
However, when I try inserting a raw SQL block such as:
Malloy complains and throws an error:
I have verified the query: it works fine in Datagrip.