New to clickhouse and stuck on the database creation structure for importing json data which is nested
Take for example the json data that looks like the following
when there is data populated
"FirewallMatchesActions": [
"allow"
],
"FirewallMatchesRuleIDs": [
"1234abc"
],
"FirewallMatchesSources": [
"firewallRules"
],
or
"FirewallMatchesActions": [
"allow",
"block"
],
"FirewallMatchesRuleIDs": [
"1234abc",
"1235abb"
],
"FirewallMatchesSources": [
"firewallRules"
],
but there maybe json data which doesn't have them populated
"FirewallMatchesActions": [],
"FirewallMatchesRuleIDs": [],
"FirewallMatchesSources": [],
what would the clickhouse create database structure look like ?