-
Notifications
You must be signed in to change notification settings - Fork 124
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
ORACLE Error ORA-01723: zero-length columns are not allowed #309
Comments
Please include the full |
I think we've seen this before:
it can't figure out what 'null' is supposed to be. Ths fix is likely to cast the null in stratum_4 and null from stratum 5 as a varchar(255) (or whatever the stratum_4, stratum_5 column type is in the achilles_results table. |
@t-abdul-basser
|
@chrisknoll |
@na1004dang: In 1.6, the queries are split into their own files, and each one uses a "select into" pattern in which there could be nulls hard-coded in as you had in your first post. I will create a fix for this, I estimate it'll be ready for you to test by Friday, 14 Sept. |
Hi @na1004dang , can you try this version: https://github.com/alondhe/Achilles You can try devtools::install_github("alondhe/Achilles") to install it. |
@alondhe
|
Ah! I just need to cast all of the other nulls. I'll adjust and push a new commit. |
@na1004dang I pushed a new commit, in which I cast all null values in the staging SQL tables to their eventual data type. Can you try installing again?
|
@alondhe thanks for your help. Achilles no longer occur ORA-01723 error. |
How many threads are you using? It may be better to stick with 1 when using Oracle. |
What a timely question and answer! I was stuck with the same problem, posted to the forum site and was directed here (thanks Eunsil_YOON). The new version of the Achilles R package worked to a point, but after completing the Achilles results, it moved on to the Concept Hierarchy creation, producing the familiar zero-length error: Executing SQL took 0.563 secs
Below is the output of the error report showing the familiar uncasted null column "null as concept_hierarchy_type," 👍 Error: SQL: FROM
R version: Platform: Attached base packages:
Other attached packages:
|
@alondhe I use 1 thread for achilles (numThreads = 1)
|
Expected behavior
successful running 'achilles' command on Achilles 1.6.0 (master)
with oracle database
Actual behavior
run 'achilles' failed
Steps to reproduce behavior
The text was updated successfully, but these errors were encountered: