Giter Club home page Giter Club logo

Comments (5)

aakulaga-ydb avatar aakulaga-ydb commented on August 17, 2024

Надо поправить зависание в каналах, включить спиллинг и выключить split stage. После этого проверить воспроизведение.

from ydb.

yumkam avatar yumkam commented on August 17, 2024

Reproducible with

PRAGMA dq.SplitStageOnDqReplicate="0"
PRAGMA dq.EnableDqReplicate = "1";

and --enable-spilling (this query is not affected by stalls due to Split*=0)

from ydb.

yumkam avatar yumkam commented on August 17, 2024

Full list of pragma:

PRAGMA dq.SplitStageOnDqReplicate="0";
PRAGMA dq.EnableDqReplicate = "1";
PRAGMA DisableSimpleColumns;

PRAGMA dq.MaxTasksPerOperation='1700';
PRAGMA dq.HashJoinMode = "grace";
PRAGMA dq.HashShuffleTasksRatio="1.0";
PRAGMA dq.HashShuffleMaxTasks="200";

-- pragma dq.AggregateStatsByStage="false";
pragma dq.OptLLVM="off";

PRAGMA s3.UseBlocksSource="true";
pragma OrderedColumns="true";
pragma dq.MaxTasksPerStage="8";
pragma dq.ComputeActorType="async";
pragma AnsiOptionalAs="1";

from ydb.

yumkam avatar yumkam commented on August 17, 2024

$bla1 in t1/t8 identical, $bla2 has different row order (but sorted content identical).
After replacing count(*) with *, and sorting results,

--- ds-1-q87-nocount-t8.sql.yson-sorted 2024-06-13 15:12:52.351514497 +0300
+++ ds-1-q87-nocount.sql.yson-sorted    2024-06-13 15:12:57.911540251 +0300
@@ -37416,7 +37416,6 @@
 ["Scott";"";["11654"]];
 ["";"Scott";["11688"]];
 ["Scott";"";["11765"]];
-["Scott";"";["11926"]];
 ["Scott";"";["11959"]];
 ["Scott";"Adam";["11596"]];
 ["Scott";"Adam";["11751"]];

As ["Scott";"";["11926"]]; row is missing in $bla2, probably left only join works incorrectly.
Other queries with left only join are q16, q69, q94

from ydb.

yumkam avatar yumkam commented on August 17, 2024

#5721

from ydb.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.