Comments (3)
Hello !
Sorry for the bugs, the last few days I was working on fixing the problem .
I will post the update on a github today, let me know if it works for you.
Oh, I probably should add to the manual that you always need to have a
COUNT(field) in a group by statement. So try it like this :
D := SELECT sccode AS sccode1, product AS product1, SUM(sale) AS sale_sum,
COUNT(product) AS cnt
FROM A GROUP BY area, product;
If it doesn't work let me know and I will try to reproduce the problem.
Regards,
Anton
On Sun, Jan 27, 2013 at 8:08 PM, bmanola [email protected] wrote:
Dear Anton,
First i want to say this is remarkable project. Analyzing large dataset
using GPUs is great idea.I have a problem with correct select statement.
I load file (around 30M rows) into BINARY structure.
When load this binary structure and make basic SQL
D := SELECT sccode AS sccode1, product AS product1, SUM(sale) AS sale_sum
FROM A GROUP BY area, product;
I get less rows then same sql but on database.76K instead of 500k.Some
products are missing which i for sure have in bigtable in DB.More strange is when i user FILTER product <= 100000 (this number is not
important max product code is 40000) i get around 160KCan you tell whats wrong with my sql statement?
For loading data i use
A := LOAD 'bigtable.csv' USING (',') AS (uniqueid{1}:int,
ccode{2}:varchar(10), acode{3}:varchar(10), sccode{4}:varchar(10),
supplier{5}:int, product{6}:int, sale{15}:decimal);
STORE A INTO 'bigtable' BINARY;Best Regards,
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/3.
from alenka.
Hi, Anton,
I am sending you output if that might help
Process count = 6200000
BINARY LOAD: A bigtable
SELECT D A
cycle 0 select mem 851771392
final select 81233
select time 3.22
STORE: D mytest.txt |
SQL scan parse worked
cycle time 3.534
I noticed that process makes only one cycle instead of 4(or 5).
Sql for selecting is same as you suggested.
Regards,
from alenka.
I think I fixed it now. Sorry for the bug, just not enough testing on my part !
I have generated 30 million records and the query takes exactly 2 seconds on my GTX 580.
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.