-
Notifications
You must be signed in to change notification settings - Fork 24
DRAFT - Refactor Collection Table Matcher #2499
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
Open
amorton
wants to merge
49
commits into
main
Choose a base branch
from
ajm/refactor-collection-table-matcher
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
49 commits
Select commit
Hold shift + click to select a range
b025ad1
fix and testes
Hazel-Datastax 5fd7368
refactor
Hazel-Datastax a2a0527
formate
Hazel-Datastax 57f2931
fix
Hazel-Datastax ab1cbdc
fix dse it
Hazel-Datastax 38a014b
Merge branch 'main' into hazel/fix-lexical-rerank-disable-then-enable…
Hazel-Datastax e6f317a
fix the string
Hazel-Datastax 303b8b8
change to 2 methods
Hazel-Datastax 59bcd72
refactor
Hazel-Datastax a169874
Merge branch 'main' into hazel/fix-lexical-rerank-disable-then-enable…
Hazel-Datastax d1d0875
refactor
Hazel-Datastax 3238b21
WIP- initial fix
amorton 2b28a27
missed
amorton a5c2849
Fix unit tests
amorton 38adaea
fmt
amorton 7d64637
test fixes
amorton 14f9c93
test fixes
amorton d70191b
handle disabled features
amorton 55767b7
bug fixes
amorton d0c3e76
test fixes
amorton 1e44aa8
test fixes
amorton b082ea7
fmt
amorton 1d9cb6d
test fixes
amorton ccbc30a
pr review
amorton 28c387d
test fixes
amorton a84a077
test fixes for escaping
amorton 01ba971
code tidy
amorton c5bb15d
code tidy
amorton 422f4c2
tidy, unit tests SchemaHolderAndFactoryTest
amorton 0feb770
Merge branch 'main' into ajm/fix-lexical-rerank-compat
amorton 74331e2
tests for the table comment
amorton 53360f2
test fix
amorton 38a0c73
use SchemaBuilder when creating a collection
amorton f0d97b8
Merge branch 'main' into ajm/create-collection-schema-builder
amorton 34abad4
use SchemaBuilder when creating a collection
amorton b1ab1ab
fixes from PR
amorton 819831f
refactor for ColumnMetadataMatcher
amorton be3c43f
WIP - up to metadata builder
amorton f96c053
missing files :(
amorton ef4f779
fix dbl quotes
amorton 61eb5a0
WIP
amorton dfe3e61
WIP
amorton b793528
WIP - test for 2 builders work
amorton 22ed397
WIP code tidy
amorton a9c8058
missing file
amorton 466b6d3
Merge branch 'main' into ajm/refactor-collection-table-matcher
amorton 0b6df9d
removed bob things
amorton cc17f7a
code tidy pre PR
amorton 0e8dc95
code tidy
amorton 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
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 |
|---|---|---|
|
|
@@ -123,7 +123,8 @@ public static String errFmt(ApiDataType apiDataType) { | |
| } | ||
|
|
||
| public static String errFmt(DataType dataType) { | ||
| return nullSafe(dataType, d -> d.asCql(true, true)); | ||
| // pass false for includeFrozen to avoid using frozen<> when not needed. | ||
| return nullSafe(dataType, d -> d.asCql(false, true)); | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. change to not force frozen when it was not needed |
||
| } | ||
|
|
||
| public static Map<String, String> errVars(SchemaObject schemaObject) { | ||
|
|
||
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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
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.
Moved all names of columns to be in SuperShreddingMetadata