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

Query plan with IN as Union fails to display plan graph in CloudKit console #2660

Open
wants to merge 21 commits into
base: main
Choose a base branch
from

Conversation

pengpeng-lu
Copy link
Contributor

No description provided.

@foundationdb-ci
Copy link
Contributor

Result of fdb-record-layer-pr on Linux CentOS 7

  • Commit ID: bc0861f
  • Duration 0:49:18
  • Result: ❌ FAILED
  • Error: Error while executing command: ./gradlew --no-daemon --console=plain -b ./build.gradle build destructiveTest -PcoreNotStrict -PreleaseBuild=false -PpublishBuild=false -PspotbugsEnableHtmlReport. Reason: exit status 1
  • Build Log terminal output (available for 30 days)
  • Build Workspace zip file of the working directory (available for 30 days)

public String identifier(@Nonnull String bindingName) {
Verify.verify(bindingName.startsWith(value));
return bindingName.substring(value.length());
public String identifier(@Nonnull final String bindingName) {
Copy link
Contributor

Choose a reason for hiding this comment

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

So we want the old identifier method to also stay there since we want to allow callers to explicitly state the want to resolve an alias to an e.g. CORRELATION. The old identifier() should be renamed to let's say typedIdentifier() and it should stay an instance method. This new identifier() method should become static. All callers should call typedIdentifier(), except the one you have where we don't know what it is.

@@ -205,7 +205,7 @@ public Set<CorrelationIdentifier> getCorrelatedTo() {

final var inAliases = getInSources()
.stream()
.map(inSource -> CorrelationIdentifier.of(Bindings.Internal.CORRELATION.identifier(inSource.getBindingName())))
.map(inSource -> CorrelationIdentifier.of(Bindings.Internal.identifier(inSource.getBindingName())))
Copy link
Contributor Author

Choose a reason for hiding this comment

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

only this one is using the new identifier

@foundationdb-ci
Copy link
Contributor

Result of fdb-record-layer-pr on Linux CentOS 7

  • Commit ID: 95f411d
  • Duration 0:49:34
  • Result: ❌ FAILED
  • Error: Error while executing command: ./gradlew --no-daemon --console=plain -b ./build.gradle build destructiveTest -PcoreNotStrict -PreleaseBuild=false -PpublishBuild=false -PspotbugsEnableHtmlReport. Reason: exit status 1
  • Build Log terminal output (available for 30 days)
  • Build Workspace zip file of the working directory (available for 30 days)

@foundationdb-ci
Copy link
Contributor

Result of fdb-record-layer-pr on Linux CentOS 7

  • Commit ID: 55f0d25
  • Duration 0:48:11
  • Result: ❌ FAILED
  • Error: Error while executing command: ./gradlew --no-daemon --console=plain -b ./build.gradle build destructiveTest -PcoreNotStrict -PreleaseBuild=false -PpublishBuild=false -PspotbugsEnableHtmlReport. Reason: exit status 1
  • Build Log terminal output (available for 30 days)
  • Build Workspace zip file of the working directory (available for 30 days)

@pengpeng-lu pengpeng-lu changed the title rdar://125034346 (Query plan with IN as Union fails to display plan graph in CloudKit console) Query plan with IN as Union fails to display plan graph in CloudKit console Jun 26, 2024
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 this pull request may close these issues.

3 participants