Plugin: Julia | Dataiku

Options
SofiaPedraza
SofiaPedraza Registered Posts: 1 ✭✭✭

Hi, I had installed the plugin in DataIku to create and execute Julia recipes the same way you would use any other code recipes. It makes that a Julia kernel also becomes available for Jupyter notebooks.

I am using the Dataiku dataset reading package, where it doesn't seem to recognize entered datasets. The code used is:

using Dataiku, DataFramesimport Dataiku: get_dataframedf = get_dataframe(dataset"PROJECTKEY.myDataset")

It ran into this error

UndefVarError: isnothing not definedStacktrace:[1] get_context() at /opt/dss/data_dir/code-envs/julia/packages/Dataiku/lgsdz/src/request.jl:60[2] #get_url_and_header#11(::Bool, ::String, ::Nothing, ::Bool, ::Function, ::String) at /opt/dss/data_dir/code-envs/julia/packages/Dataiku/lgsdz/src/request.jl:79[3] #get_url_and_header at ./none:0 [inlined][4] #request#19(::Bool, ::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}, ::Function, ::String, ::String, ::String) at /opt/dss/data_dir/code-envs/julia/packages/Dataiku/lgsdz/src/request.jl:133[5] request at /opt/dss/data_dir/code-envs/julia/packages/Dataiku/lgsdz/src/request.jl:129 [inlined][6] #request_json#18(::Bool, ::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}, ::Function, ::String, ::String, ::String) at /opt/dss/data_dir/code-envs/julia/packages/Dataiku/lgsdz/src/request.jl:117[7] request_json at /opt/dss/data_dir/code-envs/julia/packages/Dataiku/lgsdz/src/request.jl:117 [inlined] (repeats 2 times)[8] get_schema(::DSSDataset) at /opt/dss/data_dir/code-envs/julia/packages/Dataiku/lgsdz/src/Datasets.jl:548[9] #_get_reading_schema#28(::Bool, ::Function, ::DSSDataset, ::Array{Any,1}) at /opt/dss/data_dir/code-envs/julia/packages/Dataiku/lgsdz/src/Datasets.jl:102[10] #_get_reading_schema at ./none:0 [inlined][11] #get_dataframe#27(::Bool, ::Array{String,1}, ::Array{String,1}, ::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}, ::Function, ::DSSDataset, ::Array{Any,1}) at /opt/dss/data_dir/code-envs/julia/packages/Dataiku/lgsdz/src/Datasets.jl:82[12] get_dataframe at /opt/dss/data_dir/code-envs/julia/packages/Dataiku/lgsdz/src/Datasets.jl:82 [inlined] (repeats 2 times)[13] top-level scope at In[1]:3

Can you please let me know on how I can overcome this issue ?

Thank you in advance for your return,

Best regards.

Answers

  • dgraham
    dgraham Dataiker, Dataiku DSS Core Designer, Dataiku DSS Adv Designer, Registered Posts: 16 Dataiker
    Options

    Hi @SofiaPedraza
    ,

    Could you confirm the version of Julia that you have installed?

    julia -v

    You may want to try updating Julia to the latest (or a more recent version), stop DSS, then from the DSS data directory rerun the Julia integration using the below command:

    ./bin/dssadmin install-julia-integration

Setup Info
    Tags
      Help me…