-
Notifications
You must be signed in to change notification settings - Fork 141
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
[BUG] Test project_source_change_type_env should throw a SemanticCheckException #917
Comments
Hello, @GumpacG I would like to contribute. |
@Yury-Fridlyand can you please assign this to me. |
Hello, @Yury-Fridlyand Sorry for the late reply. Can you please guide me through the steps to reproduce the error. I have not worked with "Test". Again, I am sorry for the late reply. |
@DevPJ9, sql/core/src/test/java/org/opensearch/sql/analysis/AnalyzerTest.java Lines 391 to 393 in 863f751
@Disabled line)and run it
|
@DevPJ9 you need any help on this? |
What is the bug?
The test project_source_change_type_env does not throw a SemanticCheckException.
How can one reproduce the bug?
Steps to reproduce the behavior:
project_source_change_type_env
in https://github.com/opensearch-project/sql/blob/2.x/core/src/test/java/org/opensearch/sql/analysis/AnalyzerTest.javaWhat is the expected behavior?
The query
source=schema | fields integer_value, double_value | fields float_value
should throw a SemanticCheckException because the first fields already shrink the typeenv to {interger_value, double_value}What is your host/environment?
Do you have any additional context?
Test should be enabled once this issue is resolved.
The text was updated successfully, but these errors were encountered: