coalesce.sql 266 B

1234567891011121314
  1. $data1 = [
  2. <|x:nothing(int32?),y:10|>,
  3. <|x:just(1),y:10|>,
  4. ];
  5. $data2 = [
  6. <|x:nothing(int32?),y:just(10)|>,
  7. <|x:just(1),y:just(10)|>,
  8. <|x:just(1),y:nothing(int32?)|>,
  9. ];
  10. select x ?? y from as_table($data1);
  11. select x ?? y from as_table($data2);