Skip to content

Refactor and add test cases for sql_table#305

Merged
general-kroll-4-life merged 1 commit into
stackql:mainfrom
Racso-3141:main
Oct 8, 2023
Merged

Refactor and add test cases for sql_table#305
general-kroll-4-life merged 1 commit into
stackql:mainfrom
Racso-3141:main

Conversation

@Racso-3141
Copy link
Copy Markdown
Contributor

@Racso-3141 Racso-3141 commented Oct 8, 2023

Description

I have refactored NewStandardSQLTable to use input parameter relationalColumns to intialize columns field of returned standardSQLTable. I add test cases for NewStandardSQLTable, GetColumns, and GetSymTab. Test Coverage 100%.

Closes #300
Closes #301

@general-kroll-4-life
Copy link
Copy Markdown
Contributor

@Racso-3141 now it is just the linting check that is failing. You can run the linter locally as per https://github.com/stackql/stackql/blob/main/docs/developer_guide.md#linting

It may be that restoring the nolint annotation goes some way

We can only thank you for your patience; some of this documentation needs to be brought togetther better.

@Racso-3141 Racso-3141 force-pushed the main branch 2 times, most recently from 774738d to 70473b6 Compare October 8, 2023 21:25
Copy link
Copy Markdown
Contributor

@general-kroll-4-life general-kroll-4-life left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No real need to rename the package, but let us be democratic.

@general-kroll-4-life general-kroll-4-life merged commit dc599fd into stackql:main Oct 8, 2023
@Racso-3141
Copy link
Copy Markdown
Contributor Author

Hello,
Thank you for suggestion. But the original package name cannot pass the lint test. I can later add back the //nolint.

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

Successfully merging this pull request may close these issues.

Add unit tests for sql_data_table Add unit testing to package sql_data_table

2 participants