Skip to content

Commit

Permalink
ogr2ogr: TranslateArrow(): use correct option name
Browse files Browse the repository at this point in the history
  • Loading branch information
rouault committed Oct 13, 2023
1 parent 7a6afbd commit 314feb3
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion apps/ogr2ogr_lib.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5399,8 +5399,11 @@ bool LayerTranslator::TranslateArrow(
if (!psInfo->m_bPreserveFID)
aosOptions.SetNameValue("INCLUDE_FID", "NO");
if (psOptions->nGroupTransactions > 0)
{
aosOptions.SetNameValue(
"BATCH_SIZE", CPLSPrintf("%d", psOptions->nGroupTransactions));
"MAX_FEATURES_IN_BATCH",
CPLSPrintf("%d", psOptions->nGroupTransactions));
}
if (psInfo->m_poSrcLayer->GetArrowStream(&stream, aosOptions.List()))
{
if (stream.get_schema(&stream, &schema) != 0)
Expand Down

0 comments on commit 314feb3

Please sign in to comment.