-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
IGNITE-23392 Add SessionContext API #11618
base: application_context
Are you sure you want to change the base?
IGNITE-23392 Add SessionContext API #11618
Conversation
Quality Gate failedFailed conditions See analysis details on SonarCloud Catch issues before they fail your Quality Gate with our IDE extension SonarLint |
f5d921f
to
8fa7e43
Compare
fc2c340
to
1e2227d
Compare
1e2227d
to
40fa10d
Compare
207c370
to
d8bfe06
Compare
d8bfe06
to
6f33e04
Compare
@@ -221,6 +222,12 @@ private void dropTable(H2TableDescriptor tbl) { | |||
|
|||
/** {@inheritDoc} */ | |||
@Override public void onFunctionCreated(String schema, String name, boolean deterministic, Method method) { | |||
if (!Modifier.isStatic(method.getModifiers())) { | |||
log.warning("Skip creating SQL function '" + name + "' in H2 engine because it is not static."); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's use LT.warn
here to reduce number of logging in case user application generates a lot of query with the same UDF.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This log message appears only once, when cache is created.
import org.jetbrains.annotations.Nullable; | ||
|
||
/** | ||
* Provides access to attributes set with {@link Ignite#withApplicationAttributes}. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's extend javadoc with the explanation about attributes hierarchy.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's add javadocs for hierarchy in patch for ticket IGNITE-23725
import org.jetbrains.annotations.Nullable; | ||
|
||
/** | ||
* Provides access to session context. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's extend javadoc with the explanation about attributes hierarchy.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's add javadocs for hierarchy in patch for ticket IGNITE-23725
modules/core/src/main/java/org/apache/ignite/internal/cache/context/SessionContextImpl.java
Outdated
Show resolved
Hide resolved
modules/core/src/main/java/org/apache/ignite/cache/SessionContextProvider.java
Outdated
Show resolved
Hide resolved
modules/core/src/main/java/org/apache/ignite/resources/SessionContextProviderResource.java
Show resolved
Hide resolved
9f2c3a4
to
cef71fa
Compare
455f3c1
to
37b4965
Compare
Thank you for submitting the pull request to the Apache Ignite.
In order to streamline the review of the contribution
we ask you to ensure the following steps have been taken:
The Contribution Checklist
The description explains WHAT and WHY was made instead of HOW.
The following pattern must be used:
IGNITE-XXXX Change summary
whereXXXX
- number of JIRA issue.(see the Maintainers list)
the
green visa
attached to the JIRA ticket (see TC.Bot: Check PR)Notes
If you need any help, please email [email protected] or ask anу advice on http://asf.slack.com #ignite channel.