druid/docs
Gian Merlino 256160aba6
MSQ: Validate that strings and string arrays are not mixed. (#15920)
* MSQ: Validate that strings and string arrays are not mixed.

When multi-value strings and string arrays coexist in the same column,
it causes problems with "classic MVD" style queries such as:

  select * from wikipedia -- fails at runtime
  select count(*) from wikipedia where flags = 'B' -- fails at planning time
  select flags, count(*) from wikipedia group by 1 -- fails at runtime

To avoid these problems, this patch adds type verification for INSERT
and REPLACE. It is targeted: the only type changes that are blocked are
string-to-array and array-to-string. There is also a way to exclude
certain columns from the type checks, if the user really knows what
they're doing.

* Fixes.

* Tests and docs and error messages.

* More docs.

* Adjustments.

* Adjust message.

* Fix tests.

* Fix test in DV mode.
2024-03-13 15:37:27 -07:00
..
api-reference docs refinement: json format (#16080) 2024-03-11 15:49:14 +08:00
assets [Docs] Refactor streaming ingestion section (#15591) 2024-02-12 13:52:42 -08:00
comparisons remove ref to plywood repo (#12809) 2022-07-26 10:12:13 +08:00
configuration Update docs for rabbit community extension (#16069) 2024-03-07 11:29:53 -08:00
data-management Kill segments by versions (#15994) 2024-03-13 09:37:30 +05:30
design docs: mention acid-compliance for meta store (#16014) 2024-03-04 11:00:38 +08:00
development docs: clarify description of uri/uriprefix (#16110) 2024-03-13 11:52:01 -07:00
ingestion Update `maxRowsInMemory` and `maxBytesInMemory` description (#16104) 2024-03-12 14:40:15 -07:00
misc Update Ingestion section (#14023) 2023-05-19 09:42:27 -07:00
multi-stage-query MSQ: Validate that strings and string arrays are not mixed. (#15920) 2024-03-13 15:37:27 -07:00
operations Add deep storage segment metric (#16072) 2024-03-11 10:24:46 -04:00
querying MSQ: Validate that strings and string arrays are not mixed. (#15920) 2024-03-13 15:37:27 -07:00
release-info docs: Add upgrade notes for Druid 29.0.0 (#16022) 2024-03-04 08:58:52 -08:00
tutorials [Docs] Refactor streaming ingestion section (#15591) 2024-02-12 13:52:42 -08:00