You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Andrey Mashenkov (Jira)" <ji...@apache.org> on 2023/05/08 10:22:00 UTC

[jira] [Updated] (IGNITE-18875) Sql. Drop AbstractPlannerTest.TestTable.

     [ https://issues.apache.org/jira/browse/IGNITE-18875?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrey Mashenkov updated IGNITE-18875:
--------------------------------------
    Description: 
{{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}


  was:
Use test framework for schema configuration in tests.

Replace 
{code:java}
org.apache.ignite.internal.sql.engine.planner.AbstractPlannerTest.TestTable
{code}
with 
{code:java}
org.apache.ignite.internal.sql.engine.framework.TestTable
{code}



> 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: Gael Yimen Yimga
>            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: 1h 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)