This is basically a repeat of the issues listed in #950, but for Oracle backends.
copy_inline(con, tibble(a=c(1,1), b=c(2,3)))
Error in .oci.SendQuery(conn, statement, data = data, prefetch = prefetch, :
ORA-00903: invalid table name
As for the Hana DB it seems the values command does not yield the desired result and you need use union all in combination with selecting from dual in the query. So instead of the previous query this works:
SELECT CAST("a" AS NUMBER) AS "a", CAST("b" AS NUMBER) AS "b"
FROM (
(
SELECT NULL AS "a", NULL AS "b"
FROM dual
WHERE (0 = 1)
)
UNION ALL
(select 1.0, 2.0 from dual union all select 1.0, 3.0 from dual)
) "values_table"
This is basically a repeat of the issues listed in #950, but for Oracle backends.
As for the Hana DB it seems the
valuescommand does not yield the desired result and you need useunion allin combination with selecting fromdualin the query. So instead of the previous query this works: