Skip to content

Commit 99dc1e1

Browse files
committed
wip
1 parent 5849d6a commit 99dc1e1

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

integration_tests/arrow_file_to_stream.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
#include <sparrow_ipc/deserialize.hpp>
88
#include <sparrow_ipc/memory_output_stream.hpp>
99
#include <sparrow_ipc/serializer.hpp>
10-
#include "sparrow_ipc/stream_file_serializer.hpp"
10+
#include <sparrow_ipc/stream_file_serializer.hpp>
1111

1212
/**
1313
* @brief Reads an Arrow IPC file and outputs the serialized Arrow IPC stream to a file.

integration_tests/arrow_json_to_file.cpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@
77
#include "integration_tools.hpp"
88

99
/**
10-
* @brief Reads a JSON file containing record batches and writes the serialized Arrow IPC stream to a file.
10+
* @brief Reads a JSON file containing record batches and writes the serialized Arrow IPC file to a file.
1111
*
1212
* This program takes a JSON file path and an output file path as command-line arguments,
13-
* parses the record batches from the JSON data, serializes them into Arrow IPC stream format,
14-
* and writes the binary stream to the specified output file.
13+
* parses the record batches from the JSON data, serializes them into Arrow IPC file format,
14+
* and writes the binary data to the specified output file.
1515
*
16-
* Usage: json_to_file <json_file_path> <output_file_path>
16+
* Usage: arrow_json_to_file <json_file_path> <output_file_path>
1717
*
1818
* @param argc Number of command-line arguments
1919
* @param argv Array of command-line arguments
@@ -24,7 +24,7 @@ int main(int argc, char* argv[])
2424
if (argc != 3)
2525
{
2626
std::cerr << "Usage: " << argv[0] << " <json_file_path> <output_file_path>\n";
27-
std::cerr << "Reads a JSON file and writes the serialized Arrow IPC stream to a file.\n";
27+
std::cerr << "Reads a JSON file and writes the serialized Arrow IPC file to a file.\n";
2828
return EXIT_FAILURE;
2929
}
3030

integration_tests/arrow_stream_to_file.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ int main(int argc, char* argv[])
5656

5757
if (input_stream_data.empty())
5858
{
59-
std::cerr << "Error: No data received from stdin.\n";
59+
std::cerr << "Error: Input file is empty.\n";
6060
return EXIT_FAILURE;
6161
}
6262

integration_tests/arrow_validate.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ int main(int argc, char* argv[])
2424
{
2525
if (argc != 3)
2626
{
27-
std::cerr << "Usage: " << argv[0] << " <json_file_path> <stream_file_path>\n";
27+
std::cerr << "Usage: " << argv[0] << " <json_file_path> <arrow_file_path>\n";
2828
std::cerr << "Validates that a JSON file and an Arrow file contain identical data.\n";
2929
return EXIT_FAILURE;
3030
}

0 commit comments

Comments
 (0)