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

fix: add deployment usage in java quickstart #3220

Merged
merged 6 commits into from
Apr 23, 2023

Conversation

vagetablechicken
Copy link
Collaborator

close #2920

@github-actions github-actions bot added build openmldb compiling and installing docker openmldb compile image or demo image documentation Improvements or additions to documentation labels Apr 14, 2023
@@ -148,19 +148,19 @@ thirdparty-fast:
if [ "$$new_zetasql_version" != "$(ZETASQL_VERSION)" ] ; then \
echo "[deps]: thirdparty up-to-date. reinstall zetasql from $(ZETASQL_VERSION) to $$new_zetasql_version"; \
$(MAKE) thirdparty-configure; \
$(CMAKE_PRG) --build $(THIRD_PARTY_BUILD_DIR) --target zetasql; \
$(CMAKE_PRG) --build $(THIRD_PARTY_BUILD_DIR) -j $(NPROC) --target zetasql; \
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

does NPROC improve speed ? this is the parallelism of build all thirdparty deps, parallelism of each dep is handled inside each cmake/Fetch*.cmake

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, speed faster. I can't find -j or other options in Fetch*.cmake, where?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

zetasql uses bazel, which has its own parallelism strategy builtin, no need to specify NPROC ?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can’t recall about zetasql, I'll revert this change, and check it when I build the old stdc++ capable image.

@codecov
Copy link

codecov bot commented Apr 14, 2023

Codecov Report

Patch coverage has no change and project coverage change: -5.89 ⚠️

Comparison is base (ced0929) 81.48% compared to head (631f6ea) 75.60%.

Additional details and impacted files
@@              Coverage Diff              @@
##               main    #3220       +/-   ##
=============================================
- Coverage     81.48%   75.60%    -5.89%     
- Complexity        0      393      +393     
=============================================
  Files             8      678      +670     
  Lines           578   125400   +124822     
  Branches          0     1181     +1181     
=============================================
+ Hits            471    94809    +94338     
- Misses           91    30355    +30264     
- Partials         16      236      +220     

see 670 files with indirect coverage changes

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@@ -148,7 +148,7 @@ thirdparty-fast:
if [ "$$new_zetasql_version" != "$(ZETASQL_VERSION)" ] ; then \
echo "[deps]: thirdparty up-to-date. reinstall zetasql from $(ZETASQL_VERSION) to $$new_zetasql_version"; \
$(MAKE) thirdparty-configure; \
$(CMAKE_PRG) --build $(THIRD_PARTY_BUILD_DIR) --target zetasql; \
$(CMAKE_PRG) --build $(THIRD_PARTY_BUILD_DIR) -j $(NPROC) --target zetasql; \
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

revert here as well

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

already done 631f6ea, but seems we can't see it

@vagetablechicken vagetablechicken merged commit 168f8c9 into 4paradigm:main Apr 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build openmldb compiling and installing docker openmldb compile image or demo image documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

add example for CallablePreparedStatement
3 participants