-
Notifications
You must be signed in to change notification settings - Fork 138
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
Rework on OpenSearchDataType
: parse, store and use mapping information
#1314
Rework on OpenSearchDataType
: parse, store and use mapping information
#1314
Commits on Feb 1, 2023
-
Rework on
OpenSearchDataType
: parse, store and use mapping informat……ion (#180) Rework on `OpenSearchDataType`: * Add data types for those classes are not defined in `ExprCoreType`. * Address #180 (comment) * Remove `TextKeywordValue`. * Add changes according to the PR review. #180 * Update `IndexMapping::parseMapping` function. * Add `OpenSearchDataType::resolve` function. * Add new constructor for `OpenSearchTextType`. * Make `fields` and `properties` in `OpenSearchDataType` readonly. Update tests and mapping parser. * Move `getFields` from `OpenSearchDataType` to `OpenSearchTextType`. Update tests. * Rewrite `traverseAndFlatten` according to #180 (comment) * Minor comment fix. * A fix to avoid breaking changes. * `typeName` and `legacyTypeName` to return different type names. * Change `typeof` function and corresponding tests. * Move `convertTextToKeyword` from `ScriptUtils` to `OpenSearchTextType`. Update tests. * Update UT for `typeof` function. * Make all instances of `OpenSearchDataType` and of derived types singletones as much as possible. * Make string representations of all `ExprType`s uppercase. * Remove functions from `IndexMapping` used in tests only. Signed-off-by: Yury-Fridlyand <yuryf@bitquilltech.com> Signed-off-by: Yury-Fridlyand <yury.fridlyand@improving.com>
Configuration menu - View commit details
-
Copy full SHA for c9d106a - Browse repository at this point
Copy the full SHA c9d106aView commit details
Commits on Feb 2, 2023
-
Rename
getInstance()
of derivedOpenSearchDataType
s toof()
to ……have the common style. Signed-off-by: Yury-Fridlyand <yury.fridlyand@improving.com>
Configuration menu - View commit details
-
Copy full SHA for be66e97 - Browse repository at this point
Copy the full SHA be66e97View commit details
Commits on Feb 4, 2023
-
Merge remote-tracking branch 'upstream/main' into integ-spike-rework-…
…mapping-use Signed-off-by: Yury-Fridlyand <yury.fridlyand@improving.com>
Configuration menu - View commit details
-
Copy full SHA for c69b0eb - Browse repository at this point
Copy the full SHA c69b0ebView commit details
Commits on Feb 9, 2023
-
Update docs - reflect real data types reported in SQL and PPL for tex…
…t and keyword. Signed-off-by: Yury-Fridlyand <yury.fridlyand@improving.com>
Configuration menu - View commit details
-
Copy full SHA for a6cf875 - Browse repository at this point
Copy the full SHA a6cf875View commit details -
Add cache for field data types.
Signed-off-by: Yury-Fridlyand <yury.fridlyand@improving.com>
Configuration menu - View commit details
-
Copy full SHA for d47c624 - Browse repository at this point
Copy the full SHA d47c624View commit details
Commits on Feb 14, 2023
-
Minor performance improvement.
Signed-off-by: Yury-Fridlyand <yury.fridlyand@improving.com>
Configuration menu - View commit details
-
Copy full SHA for b968514 - Browse repository at this point
Copy the full SHA b968514View commit details
Commits on Feb 17, 2023
-
Statically init instances of
OpenSearchDataType
.Signed-off-by: Yury-Fridlyand <yury.fridlyand@improving.com>
Configuration menu - View commit details
-
Copy full SHA for be7e9c7 - Browse repository at this point
Copy the full SHA be7e9c7View commit details