This is an automated email from the ASF dual-hosted git repository.
alexey pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/kudu.git
The following commit(s) were added to refs/heads/master by this push:
new feb86d3e7 KUDU-1261 Update array1d.fbs
feb86d3e7 is described below
commit feb86d3e7f54e597f7dbbfdc129296d3126734a5
Author: Abhishek Chennaka <[email protected]>
AuthorDate: Thu Sep 25 12:04:02 2025 -0700
KUDU-1261 Update array1d.fbs
Renamed scalar array tables (e.g., Int32 → Int32Array)
to avoid Java naming conflicts and changed namespace
from kudu.array1d to kudu.serdes.
Change-Id: I5bbc6b596ab58b96488c53206610c1873ef57fa4
Reviewed-on: http://gerrit.cloudera.org:8080/23460
Tested-by: Abhishek Chennaka <[email protected]>
Reviewed-by: Alexey Serbin <[email protected]>
---
src/kudu/common/serdes/array1d.fbs | 50 +++++++++++++++++++-------------------
1 file changed, 25 insertions(+), 25 deletions(-)
diff --git a/src/kudu/common/serdes/array1d.fbs
b/src/kudu/common/serdes/array1d.fbs
index 7e5eb8845..3f43aaa58 100644
--- a/src/kudu/common/serdes/array1d.fbs
+++ b/src/kudu/common/serdes/array1d.fbs
@@ -15,38 +15,38 @@
// specific language governing permissions and limitations
// under the License.
-namespace kudu.array1d;
+namespace kudu.serdes;
// These represent one-dimensional arrays of a particular scalar type
// containing an arbitrary number of elements.
-table Int8 { values:[int8]; }
-table UInt8 { values:[uint8]; }
-table Int16 { values:[int16]; }
-table UInt16 { values:[uint16]; }
-table Int32 { values:[int32]; }
-table UInt32 { values:[uint32]; }
-table Int64 { values:[int64]; }
-table UInt64 { values:[uint64]; }
-table Float { values:[float32]; }
-table Double { values:[float64]; }
-table String { values:[string]; }
-table Binary { values:[UInt8]; }
+table Int8Array { values:[int8]; }
+table UInt8Array { values:[uint8]; }
+table Int16Array { values:[int16]; }
+table UInt16Array { values:[uint16]; }
+table Int32Array { values:[int32]; }
+table UInt32Array { values:[uint32]; }
+table Int64Array { values:[int64]; }
+table UInt64Array { values:[uint64]; }
+table FloatArray { values:[float32]; }
+table DoubleArray { values:[float64]; }
+table StringArray { values:[string]; }
+table BinaryArray { values:[UInt8Array]; }
// A wrapper to represent one-dimensional arrays above under the umbrella
// of a single field.
union ScalarArray {
- Int8,
- UInt8,
- Int16,
- UInt16,
- Int32,
- UInt32,
- Int64,
- UInt64,
- Float,
- Double,
- String,
- Binary
+ Int8Array,
+ UInt8Array,
+ Int16Array,
+ UInt16Array,
+ Int32Array,
+ UInt32Array,
+ Int64Array,
+ UInt64Array,
+ FloatArray,
+ DoubleArray,
+ StringArray,
+ BinaryArray
}
// This is to represent a one-dimensional array of a particular scalar type