mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-19 19:35:02 +00:00
SQL: Fix incorrect merging of #35852
This commit is contained in:
parent
633a562208
commit
cd822b7ca8
@ -33,7 +33,7 @@ public class SysTypesTests extends ESTestCase {
|
|||||||
private Tuple<Command, SqlSession> sql(String sql) {
|
private Tuple<Command, SqlSession> sql(String sql) {
|
||||||
EsIndex test = new EsIndex("test", TypesTests.loadMapping("mapping-multi-field-with-nested.json", true));
|
EsIndex test = new EsIndex("test", TypesTests.loadMapping("mapping-multi-field-with-nested.json", true));
|
||||||
Analyzer analyzer = new Analyzer(new FunctionRegistry(), IndexResolution.valid(test), TimeZone.getTimeZone("UTC"), null);
|
Analyzer analyzer = new Analyzer(new FunctionRegistry(), IndexResolution.valid(test), TimeZone.getTimeZone("UTC"), null);
|
||||||
Command cmd = (Command) analyzer.analyze(parser.createStatement(sql), true);
|
Command cmd = (Command) analyzer.analyze(parser.createStatement(sql), false);
|
||||||
|
|
||||||
IndexResolver resolver = mock(IndexResolver.class);
|
IndexResolver resolver = mock(IndexResolver.class);
|
||||||
SqlSession session = new SqlSession(null, null, null, resolver, null, null, null, null);
|
SqlSession session = new SqlSession(null, null, null, resolver, null, null, null, null);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user