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

test(mssql): test all functions #950

Merged
merged 4 commits into from
Nov 27, 2024

Conversation

grieve54706
Copy link
Contributor

We added a test case and moved out some functions that need to be revised.

#949

@github-actions github-actions bot added ibis python Pull requests that update Python code labels Nov 26, 2024
@goldmedal
Copy link
Contributor

@grieve54706 conflicts here.

scalar,pi,Float,,, "Returns value of PI."
scalar,getdate,Datetime,,, "Returns current date and time."
scalar,getutcdate,Datetime,,, "Returns current UTC date and time."
scalar,sysdatetime,Datetime2,,, "Returns date and time of SQL Server."
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
scalar,sysdatetime,Datetime2,,, "Returns date and time of SQL Server."
scalar,sysdatetime,Datetime,,, "Returns date and time of SQL Server."

We can assign it Datetime as well.

scalar,getutcdate,Datetime,,, "Returns current UTC date and time."
scalar,sysdatetime,Datetime2,,, "Returns date and time of SQL Server."
scalar,host_name,String,,, "Returns workstation name."
scalar,newid,Uniqueidentifier,,, "Returns new GUID."
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
scalar,newid,Uniqueidentifier,,, "Returns new GUID."
scalar,newid,String,,, "Returns new GUID."

We can't recognize Uniqueidentifier. String is better.

@grieve54706 grieve54706 merged commit d34e1f5 into test/all-functions Nov 27, 2024
4 checks passed
@grieve54706 grieve54706 deleted the test/all-functions-for-mssql branch November 27, 2024 05:47
@grieve54706 grieve54706 added this to the 0.12.3 milestone Nov 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ibis python Pull requests that update Python code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants