Skip to content
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

Error while trying to output a large dataset in VSCode w/ ECL Extension #349

Open
shashankb2003 opened this issue Jul 20, 2023 · 13 comments

Comments

@shashankb2003
Copy link

The following error is occurring when a large dataset of 960000 records approximately is tried to be displayed in an ECL notebook.
unnamed

@GordonSmith
Copy link
Member

You are hitting the limit of outputting a large dataset "inside" the WU. If you output it to a logical file instead it will work.

@shashankb2003
Copy link
Author

shashankb2003 commented Jul 20, 2023 via email

@viguma01
Copy link

layout:=RECORD
string first_name;
string middle_name;
string last_name;
END;

input:=DATASET('~hthor::in:person_name',layout,thor);

step1:=OUTPUT(input,,'~hthor::in:different_name',thor,compressed); // How you write a logical file.

dsOut:=DATASET('~hthor::in:different_name',layout,thor);

step2:=OUTPUT(dsOut,named('RESULTS'));// How you output the results

ORDERED(step1,step2);

@shashankb2003
Copy link
Author

shashankb2003 commented Jul 20, 2023 via email

@viguma01
Copy link

Publish your query on the ecl watch and import using JSON.

@shashankb2003
Copy link
Author

shashankb2003 commented Jul 20, 2023 via email

@viguma01
Copy link

viguma01 commented Jul 20, 2023

Are you an intern at LexisNexis or working for LexisNexis in anyway? If so, send me an internal email looking up my name on teams and I can walk you thru it.

@shashankb2003
Copy link
Author

shashankb2003 commented Jul 20, 2023 via email

@viguma01
Copy link

Found him on the system. Send me your email and I will schedule a one on one sometime soon for a walkthrough.

@viguma01
Copy link

You have two options: you either write embedded Python in ECL which I am not too familiar, or you export your aggregated data externally using a rest API provided within the ECL Watch itself. It requires multiple steps and therefore it would be much easier for me to just walk you through it.

@shashankb2003
Copy link
Author

shashankb2003 commented Jul 20, 2023 via email

@viguma01
Copy link

Find me in teams, your email does not show up because it is encrypted for security reasons. Full name is Maurice Vigueras.

@shashankb2003
Copy link
Author

shashankb2003 commented Jul 21, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants