Comments (10)
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.
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.
Stored in the "*.sort-file" indexes, which uses with "thrust::gather/scatter" to produce sorted segment?
Yes, and you, Moscow?
from alenka.
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.
.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.
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.
I can't read it :)
from alenka.
Updated.
from alenka.
Вариант. Но не так хорош разговорный английский, и сейчас не так далеко от Москвы, пока смотрю найдется ли здесь достойное применение. А сами не думали о Сан Франциско? :)
from alenka.
Английский - ерунда, учится быстро. А мне никак по семейным обстоятельствам :-(
from alenka.
Related Issues (20)
- Device Errors HOT 5
- Loading error HOT 2
- Alenka unable to find a table HOT 1
- trivial_copy_n: an illegal memory access was encountered HOT 14
- Project license? HOT 2
- What is the syntax for appending data into a table? HOT 1
- Data partitioning architecture HOT 12
- OpenCL port HOT 4
- Compilation on Windows HOT 2
- Generic Interface for Storage Behavior Layout HOT 1
- Compilation time very long HOT 4
- Benchmarking HOT 3
- License? HOT 1
- Compile problem for strings_sort_device.cu HOT 4
- Is this project live? HOT 1
- Out of memory error HOT 3
- Compile problem HOT 1
- Hardware spec HOT 4
- Case sensitive columns HOT 1
- mgpu::cuda_exception_t "Invalid device function" exception HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from alenka.