This repository was archived by the owner on Jan 20, 2023. It is now read-only.
File tree 2 files changed +37
-1
lines changed
2 files changed +37
-1
lines changed Original file line number Diff line number Diff line change 1
- namespace apache.arrow.flatbuf;
1
+ namespace org. apache.arrow.flatbuf;
2
2
3
3
/// ----------------------------------------------------------------------
4
4
/// Logical types and their metadata (if any)
5
5
///
6
6
/// These are stored in the flatbuffer in the Type union below
7
7
8
+ table Null {
9
+ }
10
+
8
11
/// A Tuple in the flatbuffer metadata is the same as an Arrow Struct
9
12
/// (according to the physical memory layout). We used Tuple here as Struct is
10
13
/// a reserved word in Flatbuffers
@@ -45,10 +48,22 @@ table Decimal {
45
48
scale: int;
46
49
}
47
50
51
+ table Date {
52
+ }
53
+
54
+ table Time {
55
+ }
56
+
48
57
table Timestamp {
49
58
timezone: string;
50
59
}
51
60
61
+ table IntervalDay {
62
+ }
63
+
64
+ table IntervalYear {
65
+ }
66
+
52
67
table JSONScalar {
53
68
dense:bool=true;
54
69
}
@@ -58,13 +73,18 @@ table JSONScalar {
58
73
/// add new logical types to Type without breaking backwards compatibility
59
74
60
75
union Type {
76
+ Null,
61
77
Int,
62
78
FloatingPoint,
63
79
Binary,
64
80
Utf8,
65
81
Bool,
66
82
Decimal,
83
+ Date,
84
+ Time,
67
85
Timestamp,
86
+ IntervalDay,
87
+ IntervalYear,
68
88
List,
69
89
Tuple,
70
90
Union,
Original file line number Diff line number Diff line change
1
+ Licensed to the Apache Software Foundation (ASF) under one
2
+ or more contributor license agreements. See the NOTICE file
3
+ distributed with this work for additional information
4
+ regarding copyright ownership. The ASF licenses this file
5
+ to you under the Apache License, Version 2.0 (the
6
+ "License"); you may not use this file except in compliance
7
+ with the License. You may obtain a copy of the License at
8
+
9
+ http://www.apache.org/licenses/LICENSE-2.0
10
+
11
+ Unless required by applicable law or agreed to in writing, software
12
+ distributed under the License is distributed on an "AS IS" BASIS,
13
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ See the License for the specific language governing permissions and
15
+ limitations under the License.
16
+
You can’t perform that action at this time.
0 commit comments