Commit 2e093bb
IMPALA-13085: Add warning and NULL out DECIMAL values in Iceberg metadata tables
DECIMAL values are not supported in Iceberg metadata tables and Impala
runs on a DCHECK and crashes if it encounters one.
Until this issue is properly fixed (see IMPALA-13080), this commit
introduces a temporary solution: DECIMAL values coming from Iceberg
metadata tables are NULLed out and a warning is issued.
Testing:
- added a DECIMAL column to the 'iceberg_metadata_alltypes' test table,
so querying the `files` metadata table will include a DECIMAL in the
'readable_metrics' struct.
Change-Id: I0c8791805bc4fa2112e092e65366ca2815f3fa22
Reviewed-on: http://gerrit.cloudera.org:8080/21429
Reviewed-by: Daniel Becker <daniel.becker@cloudera.com>
Tested-by: Impala Public Jenkins <impala-public-jenkins@cloudera.com>1 parent d0237fb commit 2e093bb
File tree
4 files changed
+31
-5
lines changed- be/src/exec/iceberg-metadata
- testdata
- datasets/functional
- workloads/functional-query/queries/QueryTest
4 files changed
+31
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
| 36 | + | |
| 37 | + | |
37 | 38 | | |
38 | 39 | | |
39 | 40 | | |
| |||
120 | 121 | | |
121 | 122 | | |
122 | 123 | | |
123 | | - | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
124 | 128 | | |
125 | 129 | | |
126 | 130 | | |
| |||
220 | 224 | | |
221 | 225 | | |
222 | 226 | | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
223 | 241 | | |
224 | 242 | | |
225 | 243 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
81 | 85 | | |
82 | 86 | | |
83 | 87 | | |
| |||
99 | 103 | | |
100 | 104 | | |
101 | 105 | | |
| 106 | + | |
| 107 | + | |
102 | 108 | | |
103 | 109 | | |
104 | 110 | | |
| |||
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3905 | 3905 | | |
3906 | 3906 | | |
3907 | 3907 | | |
3908 | | - | |
| 3908 | + | |
3909 | 3909 | | |
3910 | 3910 | | |
3911 | 3911 | | |
| |||
3924 | 3924 | | |
3925 | 3925 | | |
3926 | 3926 | | |
| 3927 | + | |
3927 | 3928 | | |
3928 | 3929 | | |
3929 | 3930 | | |
| |||
3938 | 3939 | | |
3939 | 3940 | | |
3940 | 3941 | | |
| 3942 | + | |
3941 | 3943 | | |
3942 | 3944 | | |
3943 | 3945 | | |
| |||
3952 | 3954 | | |
3953 | 3955 | | |
3954 | 3956 | | |
| 3957 | + | |
3955 | 3958 | | |
3956 | 3959 | | |
3957 | 3960 | | |
| |||
Lines changed: 1 addition & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
834 | 834 | | |
835 | 835 | | |
836 | 836 | | |
837 | | - | |
838 | 837 | | |
839 | 838 | | |
840 | 839 | | |
841 | 840 | | |
842 | | - | |
| 841 | + | |
843 | 842 | | |
844 | 843 | | |
845 | 844 | | |
| |||
0 commit comments