Skip to content

Commit 820b0f2

Browse files
committed
Drafting JSON schema read/write
Change-Id: I8dce236d9c9d5ee6badbe384249b3e2b0fbfc5a8
1 parent 68ee7ab commit 820b0f2

File tree

8 files changed

+689
-251
lines changed

8 files changed

+689
-251
lines changed

cpp/src/arrow/ipc/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ set(ARROW_IPC_SRCS
3535
adapter.cc
3636
file.cc
3737
json.cc
38+
json-internal.cc
3839
metadata.cc
3940
metadata-internal.cc
4041
)

cpp/src/arrow/ipc/ipc-json-test.cc

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
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,
12+
// software distributed under the License is distributed on an
13+
// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14+
// KIND, either express or implied. See the License for the
15+
// specific language governing permissions and limitations
16+
// under the License.
17+
18+
#include <cstdint>
19+
#include <cstdio>
20+
#include <cstring>
21+
#include <memory>
22+
#include <string>
23+
#include <vector>
24+
25+
#include "gtest/gtest.h"
26+
27+
#include "arrow/io/memory.h"
28+
#include "arrow/io/test-common.h"
29+
#include "arrow/ipc/adapter.h"
30+
#include "arrow/ipc/file.h"
31+
#include "arrow/ipc/test-common.h"
32+
#include "arrow/ipc/util.h"
33+
34+
#include "arrow/test-util.h"
35+
#include "arrow/types/list.h"
36+
#include "arrow/types/primitive.h"
37+
#include "arrow/types/string.h"
38+
#include "arrow/types/struct.h"
39+
#include "arrow/util/bit-util.h"
40+
#include "arrow/util/buffer.h"
41+
#include "arrow/util/memory-pool.h"
42+
#include "arrow/util/status.h"
43+
44+
namespace arrow {
45+
namespace ipc {
46+
47+
class TestJsonSchemaWriter : public ::testing::Test {
48+
public:
49+
void SetUp() {}
50+
void TearDown() {}
51+
};
52+
53+
} // namespace ipc
54+
} // namespace arrow

0 commit comments

Comments
 (0)