Giter VIP home page Giter VIP logo

Comments (10)

AlexeyAB avatar AlexeyAB commented on July 28, 2024

Good news! It sorts the data in every segment seperately, and can be used an additional to "sort -t "|" -k11 lineitem.tbl > lineitems.tbl" to sort all data by field "shipdate" which reduces time for FILTER?

And by using thrust::is_sorted() before join we can know, do we need to sort data or no, is it correct?

from alenka.

antonmks avatar antonmks commented on July 28, 2024

Yes.
It creates a file *.sort where it stores the indexes of sorted columns. So
when doing a join it checks if a segment is already sorted by looking into
the file.
Using thrust::is_sorted probably would be more expensive, it would have to
check all data in a column.

Anton

Подольск ?

On Thu, Jul 4, 2013 at 3:44 PM, AlexeyAB [email protected] wrote:

Good news! It sorts the data in every segment seperately, and can be used
an additional to "sort -t "|" -k11 lineitem.tbl > lineitems.tbl" to sort
all data by field "shipdate" which reduces time for FILTER?

And by using thrust::is_sorted() before join we can know, do we need to
sort data or no, is it correct?


Reply to this email directly or view it on GitHubhttps://github.com//issues/38#issuecomment-20475062
.

from alenka.

AlexeyAB avatar AlexeyAB commented on July 28, 2024

Stored in the "*.sort-file" indexes, which uses with "thrust::gather/scatter" to produce sorted segment?

Yes, and you, Moscow?

from alenka.

antonmks avatar antonmks commented on July 28, 2024

The sort file simply has one or more numbers like 0 - meaning that a segment is already presorted on first field.
03 - presorted on first and third fields.

Yes.

from alenka.

AlexeyAB avatar AlexeyAB commented on July 28, 2024

.sort is a metadata-file. Why not to use bitmask, an example 5(101) mean that on 1st and 3d fields is already sorted?

А как догадались, что с Подольска? :)

from alenka.

antonmks avatar antonmks commented on July 28, 2024

Yes, it is possible to use a bitmask, although the effect on performance would be nil. It is just a list of sorted fields.

Посмотрел Google analytics, там есть города посетителей. А почему Подольск ? С такими интересами в Сан Франциско было бы интереснее и лучше :-)

from alenka.

AlexeyAB avatar AlexeyAB commented on July 28, 2024

I can't read it :)

from alenka.

antonmks avatar antonmks commented on July 28, 2024

Updated.

from alenka.

AlexeyAB avatar AlexeyAB commented on July 28, 2024

Вариант. Но не так хорош разговорный английский, и сейчас не так далеко от Москвы, пока смотрю найдется ли здесь достойное применение. А сами не думали о Сан Франциско? :)

from alenka.

antonmks avatar antonmks commented on July 28, 2024

Английский - ерунда, учится быстро. А мне никак по семейным обстоятельствам :-(

from alenka.

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.