-
Notifications
You must be signed in to change notification settings - Fork 120
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
JDBC driver #45
Comments
Hi, |
I have a plan to add the Drizzle front end - including JDBC. |
Very much so, the idea I had (but lack of time so far) was to plumb in Tom On 26/11/13 03:24, Randolph42 wrote:
|
I think I have a better solution using some existing code from my deepcloud note: On 26/11/13 6:11 PM, "Tom Barber" notifications@github.com wrote:
Randolph |
Randolph, Did you ever come up with something for a JDBC driver? |
We have a SQL and JDBC Alenka solution in development. It will probably be
On 19/03/14 1:06 AM, "pacificobuzz" notifications@github.com wrote:
|
Interesting. Are you going to run the alenka executable in your driver kind of like SQLite JDBC (process builder)? Intrigued to see how a JDBC driver would work with an DB like Alenka. |
Its going to be more MySQL/Oracle like. On 11/04/14 5:51 AM, "pacificobuzz" notifications@github.com wrote:
|
That sounds great! Would be fun to play around with that. Are you going to modify the Alenka source at all to help accommodate this? Since there isn't really an API, I wonder how difficult the driver development would be. I understand how you would handle the queries, I guess I'm thick on the connection/driver part of the driver. Any thoughts? |
Yes I already have made a couple of mods and there is a couple more on the On 14/04/14 10:57 PM, "pacificobuzz" notifications@github.com wrote:
|
This is a good discussion. Randolph will you be making your driver open source? I saw the library you committed with the AlenkaExecute function in the Alenka header file. We are working on a JNI implementation using that. |
For pure Alenka dialect, JNI is probably a better choice then JDBC. On 15/04/14 12:52 AM, "Devin Pinkston" notifications@github.com wrote:
|
Have you used the Library with JNI/JNA successfully? Trying to use a pointerbyreference for "execute_file" seems to be throwing some odd errors from Java. However AlenkaClose() works fine. Have you built a shared library with bison.cu/main.cu? |
AlenkaClose() is never used with execute_file() ExecuteFile() is used as shown in main.cu On 18/04/14 11:33 PM, "Devin Pinkston" notifications@github.com wrote:
|
Thanks Randolph. Is ExecuteFile accepting just a char array? Should it be something like: ExecuteFile("-v", "q1.sql")? or should i be passing in an array with data like: |
Yes, but have a look in alenka.h at the 1st method (alenkaInit is called On 22/04/14 12:47 AM, "Devin Pinkston" notifications@github.com wrote:
|
thanks for that Randolph. Out of curiosity, have you built a shared library with this? if so, what files are you including in your shared lib? thanks |
No, not at this stage. But JDBC is getting closer. |
Randolph, With the library, execute_file seems to not be receiving the String values from main. have you seen that? Or maybe i have something off on my end. Anyways from my output, i added some print statements in main.cu that start with "MAIN", you can see i pass in -v and the q1.sql. then i get into execute file, and the array is empty? MAIN: av[0] = -v Coudn't open data dictionarySo that confuses me, because I still receive this error: So it definitely sees that q1 is used the table lineitem, the data is loaded properly and I can use ./alenka q1.sql and that works fine. Any thoughts? Thanks |
If you receive an error this way, its probably your data that is the
|
Thanks Randolph |
Randolph, Have you run the alenkaexecute function with just a String representation of a query? All the other library calls work perfectly, however alenkaexecute seems to be tricky to get to work when submitting an Alenka query. |
Yes, On 13/05/14 3:17 AM, "Devin Pinkston" notifications@github.com wrote:
|
Try it now On 13/05/14 3:17 AM, "Devin Pinkston" notifications@github.com wrote:
|
Ok, it looks like we got a JDBC driver thanks to the guys from Technica Corporation : |
Our alenka based SQL system whirlwindDB is released. It has JDBC and uses std Oracle (subset) dialect. |
Hi all! Randolph42, As I see you use MPI via OpenFabrics Interconnects.
P.S. |
No, I didn¹t know it was so fast. Your stuff sounds like a great replacement for infiniband. I¹d like to know On 2/10/14 11:22 PM, "Alexey" notifications@github.com wrote:
|
To be more precise, it isn’t a replacement for Infiniband, but it is an effective removal of Infiniband/Ethernet and any NICs. |
Hi,
We have written an open source analytics tool called Saiku, and we like demoing its capabilities over different or more interesting data sources, do you have a JDBC driver for Alenka?
Thanks
Tom
The text was updated successfully, but these errors were encountered: