smellthemoon
b45798107a
enhance: add nullable in Field, check valid_data and fill data ( #32086 )
...
1. add nullable in model.Field
help to read nullable accurately.
2. check valid_data
a. if user pass default_value or the field is nullable, the length of
valid_data must be num_rows.
b. if passed valid_data, the length of passed field data must equal to
the number of 'true' in valid_data.
c. after fill default_value, only nullable field will still has
valid_data.
3. fill data in two situation
a. has no default_value, if nullable,
will fill nullValue when passed num_rows not equal to expected num_rows.
b. has default_value,
will fill default_value when passed num_rows not equal to expected
num_rows.
c. after fill data, the length of all field will equal to passed
num_rows.
#31728
---------
Signed-off-by: lixinguo <xinguo.li@zilliz.com>
Co-authored-by: lixinguo <xinguo.li@zilliz.com>
2024-05-16 11:57:35 +08:00
..
2024-05-16 10:05:34 +08:00
2024-03-06 12:50:59 +08:00
2024-03-28 06:33:11 +08:00
2024-04-16 16:47:19 +08:00
2023-12-26 19:56:47 +08:00
2024-03-28 06:33:11 +08:00
2023-09-21 09:45:27 +08:00
2023-09-21 09:45:27 +08:00
2023-09-21 09:45:27 +08:00
2023-10-26 19:06:13 +08:00
2023-09-21 09:45:27 +08:00
2024-03-28 06:33:11 +08:00
2024-03-22 15:29:09 +08:00
2024-02-02 16:49:06 +08:00
2024-02-02 16:49:06 +08:00
2023-10-08 21:23:32 +08:00
2023-09-21 09:45:27 +08:00
2021-11-10 23:43:27 +08:00
2024-03-28 06:33:11 +08:00
2024-04-02 14:27:13 +08:00
2024-05-09 22:51:30 +08:00
2024-05-14 21:45:32 +08:00
2023-09-26 09:57:25 +08:00
2023-06-27 09:52:44 +08:00
2024-01-09 11:38:48 +08:00
2024-04-29 14:19:26 +08:00
2024-03-15 17:41:04 +08:00
2024-03-15 10:23:03 +08:00
2024-03-27 16:15:19 +08:00
2024-03-27 16:15:19 +08:00
2023-12-12 10:36:43 +08:00
2023-12-12 10:36:43 +08:00
2024-05-08 10:05:29 +08:00
2024-05-11 14:32:12 +08:00
2023-10-11 21:01:35 +08:00
2024-04-12 16:01:19 +08:00
2024-05-08 10:05:29 +08:00
2023-09-12 10:19:17 +08:00
2023-09-04 21:19:48 +08:00
2023-09-04 21:19:48 +08:00
2023-10-20 14:26:09 +08:00
2023-09-26 09:57:25 +08:00
2024-05-14 14:33:33 +08:00
2023-09-26 09:57:25 +08:00
2024-05-14 14:33:33 +08:00
2023-09-21 09:45:27 +08:00
2021-11-16 15:41:11 +08:00
2024-04-16 16:47:19 +08:00
2024-04-16 16:47:19 +08:00
2023-10-09 10:09:33 +08:00
2024-05-14 14:33:33 +08:00
2024-05-14 10:47:32 +08:00
2024-04-28 11:01:28 +08:00
2024-04-28 11:01:28 +08:00
2023-09-21 09:45:27 +08:00
2023-10-30 10:00:12 +08:00
2023-09-21 09:45:27 +08:00
2023-10-20 14:26:09 +08:00
2023-11-24 17:50:30 +08:00
2023-10-20 14:26:09 +08:00
2024-04-09 14:21:18 +08:00
2024-04-09 14:21:18 +08:00
2024-04-25 10:53:25 +08:00
2023-06-27 09:52:44 +08:00
2023-09-21 09:45:27 +08:00
2023-04-14 15:30:29 +08:00
2024-05-13 11:55:31 +08:00
2024-04-23 17:41:23 +08:00
2024-02-28 10:40:09 +08:00
2024-01-05 16:12:48 +08:00
2023-09-26 09:57:25 +08:00
2023-10-19 11:10:07 +08:00
2024-04-24 10:13:24 +08:00
2024-04-23 16:19:24 +08:00
2024-01-11 19:12:51 +08:00
2024-02-21 09:52:59 +08:00
2024-05-09 22:51:30 +08:00
2024-05-09 22:51:30 +08:00
2024-04-22 11:09:23 +08:00
2024-04-22 11:09:23 +08:00
2024-03-21 10:37:08 +08:00
2024-04-07 14:27:22 +08:00
2024-05-16 11:57:35 +08:00
2024-04-19 10:31:20 +08:00
2023-09-26 09:57:25 +08:00
2023-09-26 09:57:25 +08:00
2024-05-14 14:33:33 +08:00
2024-04-19 10:31:20 +08:00
2024-02-21 09:52:59 +08:00
2024-03-28 06:33:11 +08:00
2024-04-23 17:41:23 +08:00
2024-05-07 13:03:29 +08:00
2023-10-11 21:01:35 +08:00
2024-03-19 18:03:07 +08:00
2024-05-14 14:33:33 +08:00
2024-05-16 11:57:35 +08:00
2024-03-20 19:01:05 +08:00
2024-05-16 11:57:35 +08:00
2023-09-21 09:45:27 +08:00
2023-11-24 15:02:39 +08:00
2023-11-27 20:14:26 +08:00
2023-11-28 15:32:31 +08:00
2021-12-23 21:44:12 +08:00
2024-05-16 11:57:35 +08:00
2024-05-16 11:57:35 +08:00
2024-05-16 11:57:35 +08:00
2024-05-16 11:57:35 +08:00