MCPcopy Create free account
hub / github.com/apache/arrow / DefaultRowReaderOptions

Function DefaultRowReaderOptions

cpp/src/arrow/adapters/orc/adapter.cc:180–188  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

178};
179
180liborc::RowReaderOptions DefaultRowReaderOptions() {
181 liborc::RowReaderOptions options;
182 // Orc timestamp type is error-prone since it serializes values in the writer timezone
183 // and reads them back in the reader timezone. To avoid this, both the Apache Orc C++
184 // writer and reader set the timezone to GMT by default to avoid any conversion.
185 // We follow the same practice here explicitly to make sure readers are aware of this.
186 options.setTimezoneName("GMT");
187 return options;
188}
189
190#ifdef ARROW_ORC_NEED_TIME_ZONE_DATABASE_CHECK
191// Proactively check timezone database availability for ORC versions older than 2.0.0

Callers 4

ReadMethod · 0.85
ReadStripeMethod · 0.85
NextStripeReaderMethod · 0.85
GetRecordBatchReaderMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected