ClickHouse/tests/queries
Azat Khuzhin 1a8437f2c9 Add ability to ignore unknown keys in JSON object for named tuples
This can be useful in case your input JSON is complex, while you need
only few fields in it.

This behaviour is controlled by the
input_format_json_ignore_unknown_keys_in_named_tuple setting name, that
is turned OFF by default.

This will, almost, allow to parse gharchive dataset without jq. "almost"
because of two things:
- Tuple cannot be Nullable, so such keys with Tuple type in ClickHouse
  cannot be `null` in JSON
- You cannot use dot.dot notation to extract columns for file() engine,
  only tupleElement()

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-01-27 10:01:08 +01:00
..
0_stateless Add ability to ignore unknown keys in JSON object for named tuples 2023-01-27 10:01:08 +01:00
1_stateful wip 2023-01-17 12:21:56 +00:00
bugs
shell_config.sh tests: fix clickhouse binaries detection 2023-01-15 17:05:16 +01:00