This is an automated email from the ASF dual-hosted git repository.

apucher pushed a commit to branch generator-script-fix-for-5338
in repository https://gitbox.apache.org/repos/asf/incubator-pinot.git

commit deac52db087c57ef4ea72c3e79cb992e70570893
Author: Alexander Pucher <a...@alexpucher.com>
AuthorDate: Tue May 19 12:42:03 2020 -0700

    fix generator.sh to follow #5338 changes
---
 docker/images/pinot/bin/generator.sh | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/docker/images/pinot/bin/generator.sh 
b/docker/images/pinot/bin/generator.sh
index d8ffa03..dc84967 100755
--- a/docker/images/pinot/bin/generator.sh
+++ b/docker/images/pinot/bin/generator.sh
@@ -54,7 +54,8 @@ fi
 
 echo "Creating segment for ${TEMPLATE_NAME} in ${SEGMENT_DIR}"
 ${ADMIN_PATH} CreateSegment \
--tableName "${TEMPLATE_NAME}" -segmentName "${TEMPLATE_NAME}" -format CSV 
-overwrite \
+-format csv \
+-tableConfigFile "${TEMPLATE_BASEDIR}/${TEMPLATE_NAME}_config.json" \
 -schemaFile "${TEMPLATE_BASEDIR}/${TEMPLATE_NAME}_schema.json" \
 -dataDir "${DATA_DIR}" \
 -outDir "${SEGMENT_DIR}" || exit 1


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org
For additional commands, e-mail: commits-h...@pinot.apache.org

Reply via email to