Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Docs] Integration with ThirdEye: generate and load sample data script doesn't work #5412

Closed
olegchorny opened this issue May 19, 2020 · 1 comment · Fixed by #5415
Closed
Assignees

Comments

@olegchorny
Copy link

https://docs.pinot.apache.org/integrations/thirdeye#prepare-your-data-optional

Creating segment for complexWebsite in /tmp/pinotGenerator/complexWebsiteSegment
Error: "-tableName" is not a valid option

I've made some changes to bin/generator.sh file and it was executed successfully, but I'm not sure about the final result.

echo "Creating segment for ${TEMPLATE_NAME} in ${SEGMENT_DIR}"
${ADMIN_PATH} CreateSegment \
-format csv \
-tableConfigFile "${TEMPLATE_BASEDIR}/${TEMPLATE_NAME}_config.json" \
-schemaFile "${TEMPLATE_BASEDIR}/${TEMPLATE_NAME}_schema.json" \
-dataDir "${DATA_DIR}" \
-outDir "${SEGMENT_DIR}" || exit 1
@apucher
Copy link
Contributor

apucher commented May 19, 2020

Thanks, Oleg. Looks like I missed a change in the CreateSegment command params. Your fix is correct. PR here: #5415

apucher added a commit that referenced this issue May 19, 2020
Use **tableConfigFile** rather than tableName and segmentName. Fixes #5412
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants