[
https://issues.apache.org/jira/browse/IGNITE-18875?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17749912#comment-17749912
]
Gael Yimen Yimga commented on IGNITE-18875:
-------------------------------------------
[~jooger] Sorry I got distracted by some other work. You can assign it to
someone else. I will pick up another ticket.
> Sql. Drop AbstractPlannerTest.TestTable.
> ----------------------------------------
>
> Key: IGNITE-18875
> URL: https://issues.apache.org/jira/browse/IGNITE-18875
> Project: Ignite
> Issue Type: Improvement
> Components: sql
> Reporter: Andrey Mashenkov
> Assignee: Andrey Mashenkov
> Priority: Major
> Labels: ignite-3, newbie, tech-debt-test
> Fix For: 3.0.0-beta2
>
> Attachments: Screen Shot 2023-04-03 at 1.04.39 AM.png
>
> Time Spent: 2h 20m
> Remaining Estimate: 0h
>
> {{org.apache.ignite.internal.sql.engine.planner.AbstractPlannerTest.TestTable}}
> uses
> IgniteTypeFactory.createJavaType() method to create RelDataType from java
> classes.
> We should create tables in tests in same way we do in product code.
> Let's use test framework for schema configuration in tests and replace
> {code:java}
> org.apache.ignite.internal.sql.engine.planner.AbstractPlannerTest.TestTable
> {code}
> usage with
> {code:java}
> org.apache.ignite.internal.sql.engine.framework.TestTable
> {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)