Commit ce05e8c
committed
remove table validation checks
Remove validation checks on table. The validation checks mainly fail for
debug builds and what they do is to actually validate the metadata for a
table. While dealing with indices for dictionaries, it looks like for
compatibility, we accept signed or unsigned uint32 or uint64 integers.
However, arrow dictionary builder AppendIndices only accepts signed
integers. So, we end up appending signed integers while dictionary
schema could still be unsigned integers. So, when the validation
happens, it checks if the dictionary schema and the actual column data
are the same types. Since it's possible to have uint64 schema with int64
columns, this leads to errors like (and similar error for uint32):
```
Column data for field 0 with type dictionary<values=string, indices=int64,
ordered=0> is inconsistent with schema dictionary<values=string,
indices=uint64, ordered=0>
```1 parent 214fd3c commit ce05e8c
1 file changed
Lines changed: 0 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
619 | 619 | | |
620 | 620 | | |
621 | 621 | | |
622 | | - | |
623 | 622 | | |
624 | 623 | | |
625 | 624 | | |
| |||
633 | 632 | | |
634 | 633 | | |
635 | 634 | | |
636 | | - | |
637 | 635 | | |
638 | 636 | | |
639 | 637 | | |
| |||
0 commit comments