-
Notifications
You must be signed in to change notification settings - Fork 100
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 Manager #915
Merged
Merged
Query Manager #915
Changes from 39 commits
Commits
Show all changes
46 commits
Select commit
Hold shift + click to select a range
2961e46
Bump prismjs from 1.25.0 to 1.27.0 in /dashboards-observability (#508…
opensearch-trigger-bot[bot] 4afca56
change to support java 8 in compile and runtime (#575) (#576)
opensearch-trigger-bot[bot] c85b9ef
Add 1.3.0 release notes (#580) (#582)
opensearch-trigger-bot[bot] f1c410d
Merge branch '1.3' of github.com:opensearch-project/trace-analytics
mengweieric 82db8c1
Merge branch 'main' of github.com:opensearch-project/trace-analytics
mengweieric ebcf5d4
Merge branch 'main' of github.com:opensearch-project/trace-analytics
mengweieric 2dfd988
Merge branch 'main' of github.com:opensearch-project/trace-analytics
mengweieric 9da1830
Merge branch 'main' of github.com:opensearch-project/trace-analytics
mengweieric 41061dd
Merge branch 'main' of github.com:opensearch-project/trace-analytics
mengweieric b3c27d8
Merge branch 'main' of github.com:opensearch-project/trace-analytics
mengweieric ac027d9
Merge branch 'main' of github.com:opensearch-project/trace-analytics
mengweieric a4e104b
Merge branch 'main' of github.com:opensearch-project/trace-analytics
mengweieric 988862b
Merge branch 'main' of github.com:opensearch-project/trace-analytics
mengweieric 941607a
Merge branch 'main' of github.com:opensearch-project/trace-analytics
mengweieric ee3e67d
Merge branch 'main' of github.com:opensearch-project/trace-analytics
mengweieric e5f34fd
Merge branch 'main' of github.com:opensearch-project/trace-analytics
mengweieric 92f959e
Merge branch 'main' of github.com:opensearch-project/trace-analytics
mengweieric e429b94
Merge branch 'main' of github.com:opensearch-project/trace-analytics
mengweieric e92691b
Merge branch 'main' of github.com:opensearch-project/trace-analytics
mengweieric 4e09ce5
Merge branch 'main' of github.com:opensearch-project/trace-analytics
mengweieric 70f3c04
Merge branch 'main' of github.com:opensearch-project/trace-analytics
mengweieric 9c17d6b
Merge branch 'main' of github.com:opensearch-project/trace-analytics
mengweieric c6daa2c
Merge branch 'main' of github.com:opensearch-project/trace-analytics
mengweieric 8fa87ed
Merge branch 'main' of github.com:opensearch-project/trace-analytics
mengweieric b54de85
Merge branch 'main' of github.com:opensearch-project/trace-analytics
mengweieric 6034004
Merge branch 'main' of github.com:opensearch-project/trace-analytics
mengweieric 9642f8c
Merge branch 'main' of github.com:opensearch-project/trace-analytics
mengweieric 4e46b74
query manager
mengweieric ba0435b
removed aggregations from dimensions
mengweieric 78bef4b
qm improvements
mengweieric 6712046
types/code cleanups/error corrections
mengweieric 33000c2
Merge branch 'main' of github.com:opensearch-project/trace-analytics
mengweieric b01b063
Merge branch 'main' into antlr-ppl
mengweieric 8bdac84
fixed a undefined issue
mengweieric 689820d
qm fixes for query builder
mengweieric 77082f6
Merge branch 'main' of github.com:opensearch-project/trace-analytics
mengweieric d20e21a
Merge branch 'main' of github.com:opensearch-project/trace-analytics
mengweieric 3fe8167
merged backported changes for resolving build failures
mengweieric d5dd1aa
viz timestamp selector
mengweieric e086c06
use postinstall for antlr output files
mengweieric 9a4853c
query building fixes
mengweieric a0ca695
Merge branch 'main' into antlr-ppl
mengweieric ef9949d
updated snapshots
mengweieric 7f15fff
remove output files
mengweieric 68aac6c
cherry-pick from integration branch
mengweieric 64b21d0
explicitly remove generated files
mengweieric File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
60 changes: 60 additions & 0 deletions
60
dashboards-observability/query_manager/antlr/adaptors/case_insensitive_char_stream.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
/* | ||
* Copyright OpenSearch Contributors | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
|
||
import { CharStream } from 'antlr4ts'; | ||
|
||
export class CaseInsensitiveCharStream { | ||
private stream: CharStream; | ||
|
||
get index(): number { | ||
return this.stream.index; | ||
} | ||
|
||
get size(): number { | ||
return this.stream.size; | ||
} | ||
|
||
get sourceName(): string { | ||
return 'pplquery'; | ||
} | ||
|
||
constructor(stream: CharStream) { | ||
this.stream = stream; | ||
} | ||
|
||
LA(offset: number): number { | ||
const c: number = this.stream.LA(offset); | ||
if (c <= 0) { | ||
return c; | ||
} | ||
|
||
// case insensitivity support for PPL | ||
return String.fromCodePoint(c).toUpperCase().codePointAt(0)!; | ||
} | ||
|
||
consume(): void { | ||
this.stream.consume(); | ||
} | ||
|
||
mark(): number { | ||
return this.stream.mark(); | ||
} | ||
|
||
release(marker: number): void { | ||
this.stream.release(marker); | ||
} | ||
|
||
seek(index: number): void { | ||
this.stream.seek(index); | ||
} | ||
|
||
getText(interval: any): string { | ||
return this.stream.getText(interval); | ||
} | ||
|
||
toString(): string { | ||
return this.stream.toString(); | ||
} | ||
} |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Can remove this comment.
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.
these are old, outdated commits, which have been already removed in later commits.