join_table_conflict_fail.sql 410 B

1234567891011
  1. /* custom error:column name: value conflicted without correlation name it may be one of: Input.value, d.value*/
  2. PRAGMA DisableSimpleColumns;
  3. USE plato;
  4. $data = (SELECT key as kk, subkey as sk, value || value as value FROM Input WHERE cast(key as uint32)/100 > 3);
  5. --INSERT INTO Output
  6. SELECT
  7. value, key -- value is conflicted between Input and d sources
  8. FROM Input JOIN $data as d ON Input.subkey = d.kk
  9. ;