[ 
https://issues.apache.org/jira/browse/FLINK-33727?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17792499#comment-17792499
 ] 

Sergey Nuyanzin edited comment on FLINK-33727 at 12/3/23 9:12 AM:
------------------------------------------------------------------

[~jhughes] there is also a question about {{DeduplicationRestoreTest}}
what is the reason to have {{runSql}} this in {{DeduplicationTestPrograms}} 
e.g. for 
{{org.apache.flink.table.planner.plan.nodes.exec.stream.DeduplicationTestPrograms#DEDUPLICATE}}
{code:java}
.runSql(
    "insert into deduplicate_sink "
    + "select order_id, user, product, order_time \n"
    + "FROM ("
    + "  SELECT *,"
    + "    ROW_NUMBER() OVER (PARTITION BY product ORDER BY event_time ASC) AS 
row_num\n"
    + "  FROM MyTable)"
    + "WHERE row_num = 1")
{code}

I'm asking since I tried to remove it just to see what happens and tests just 
continue passing..
So from tests point of view it seems there is no difference whether we have 
this or not for {{DeduplicationTestPrograms}} 
Or did I miss anything?


was (Author: sergey nuyanzin):
[~jhughes]there is also a question about {{DeduplicationRestoreTest}}
what is the reason to have {{runSql}} this in {{DeduplicationTestPrograms}} 
e.g. for 
{{org.apache.flink.table.planner.plan.nodes.exec.stream.DeduplicationTestPrograms#DEDUPLICATE}}
{code:java}
.runSql(
    "insert into deduplicate_sink "
    + "select order_id, user, product, order_time \n"
    + "FROM ("
    + "  SELECT *,"
    + "    ROW_NUMBER() OVER (PARTITION BY product ORDER BY event_time ASC) AS 
row_num\n"
    + "  FROM MyTable)"
    + "WHERE row_num = 1")
{code}

I'm asking since I tried to remove it just to see what happens and tests just 
continue passing..
So from tests point of view it seems there is no difference whether we have 
this or not for {{DeduplicationTestPrograms}} 
Or did I miss anything?

> JoinRestoreTest is failing on AZP
> ---------------------------------
>
>                 Key: FLINK-33727
>                 URL: https://issues.apache.org/jira/browse/FLINK-33727
>             Project: Flink
>          Issue Type: Bug
>          Components: Table SQL / Planner
>    Affects Versions: 1.19.0
>            Reporter: Sergey Nuyanzin
>            Priority: Critical
>              Labels: pull-request-available, test-stability
>
> Since {{JoinRestoreTest}} was introduced in FLINK-33470 it seems to be a 
> reason
> {noformat}
> Dec 02 04:42:26 04:42:26.408 [ERROR] Failures: 
> Dec 02 04:42:26 04:42:26.408 [ERROR]   
> JoinRestoreTest>RestoreTestBase.testRestore:283 
> Dec 02 04:42:26 Expecting actual:
> Dec 02 04:42:26   ["+I[9, carol, apple, 9000]",
> Dec 02 04:42:26     "+I[8, bill, banana, 8000]",
> Dec 02 04:42:26     "+I[6, jerry, pen, 6000]"]
> Dec 02 04:42:26 to contain exactly in any order:
> Dec 02 04:42:26   ["+I[Adam, null]",
> Dec 02 04:42:26     "+I[Baker, Research]",
> Dec 02 04:42:26     "+I[Charlie, Human Resources]",
> Dec 02 04:42:26     "+I[Charlie, HR]",
> Dec 02 04:42:26     "+I[Don, Sales]",
> Dec 02 04:42:26     "+I[Victor, null]",
> Dec 02 04:42:26     "+I[Helena, Engineering]",
> Dec 02 04:42:26     "+I[Juliet, Engineering]",
> Dec 02 04:42:26     "+I[Ivana, Research]",
> Dec 02 04:42:26     "+I[Charlie, People Operations]"]
> {noformat}
> examples of failures
> https://dev.azure.com/apache-flink/apache-flink/_build/results?buildId=55120&view=logs&j=0c940707-2659-5648-cbe6-a1ad63045f0a&t=075c2716-8010-5565-fe08-3c4bb45824a4&l=12099
> https://dev.azure.com/apache-flink/apache-flink/_build/results?buildId=55129&view=logs&j=a9db68b9-a7e0-54b6-0f98-010e0aff39e2&t=cdd32e0b-6047-565b-c58f-14054472f1be&l=11786
> https://dev.azure.com/apache-flink/apache-flink/_build/results?buildId=55136&view=logs&j=0c940707-2659-5648-cbe6-a1ad63045f0a&t=075c2716-8010-5565-fe08-3c4bb45824a4&l=12099
> https://dev.azure.com/apache-flink/apache-flink/_build/results?buildId=55137&view=logs&j=0c940707-2659-5648-cbe6-a1ad63045f0a&t=075c2716-8010-5565-fe08-3c4bb45824a4&l=11779



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to