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

DEPRECATED warning does not display in Notebooks #353

Open
JamesDeFabia opened this issue Aug 31, 2023 · 0 comments
Open

DEPRECATED warning does not display in Notebooks #353

JamesDeFabia opened this issue Aug 31, 2023 · 0 comments

Comments

@JamesDeFabia
Copy link
Contributor

I created an ECL Notebook with an ECL code cell with this code:

personRecord := RECORD
STRING UID;
STRING first_name;
STRING last_name;
STRING address;
STRING city;
STRING state;
STRING zip;
END;
person := DATASET([{'923','James','Jones','123 Elm Street','Hollywood','FL','33022'},
{'924','Sally','Jones','22 Main Street','Tampa','FL','33604'},
{'925','Jose','Gomez','111 Biscaya Lane','Miami','FL','33101'},
{'926','Adam','Wesson','77 Sunset Blvd','Boston','MA','02108'},
{'927','Evelyn','Murray','740 SW 10th Street','Boston ','MA','02116'},
{'928','Joe','Yung','7511 Simson Avenue','Chicago','IL','60131'}], personRecord);

OldSort := SORT(person,first_name) : DEPRECATED('Use NewSort instead.');
NewSort := SORT(person,-first_name);
  
OUTPUT(OldSort); 
  // produces this warning:
  // Definition OldSort is marked as deprecated. Use NewSort instead.

When I run it, I should see a warning, but I only see the results

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

1 participant