Skip to content

Introduce Log function() conforming to SQL:2016#12127

Closed
Praveen2112 wants to merge 2 commits intoprestodb:masterfrom
Praveen2112:log_function
Closed

Introduce Log function() conforming to SQL:2016#12127
Praveen2112 wants to merge 2 commits intoprestodb:masterfrom
Praveen2112:log_function

Conversation

@Praveen2112
Copy link
Contributor

This patch adds the log function with arguments swapped and also removes the deprecated.legacy-log-function toggle.

@Praveen2112 Praveen2112 changed the title Introduce Log function with SQL 2016 standards Introduce Log function() confirming to SQL 2016 Dec 21, 2018
@Praveen2112
Copy link
Contributor Author

@findepi

@electrum electrum changed the title Introduce Log function() confirming to SQL 2016 Introduce Log function() conforming to SQL:2016 Dec 27, 2018
Copy link
Contributor

Choose a reason for hiding this comment

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

This no longer needs to be a class -- it can just be a function. Let's move it to be next to the other log functions.

@electrum
Copy link
Contributor

Let's change the second commit title to

Add standard log function

The "with arguments swapped" is in reference to now-removed function and thus seems confusing.

@Praveen2112 Praveen2112 force-pushed the log_function branch 2 times, most recently from 4de604e to 60e1523 Compare December 31, 2018 11:37
@Praveen2112
Copy link
Contributor Author

@electrum Thanks for the review. Have implemented the above changes.

Copy link
Contributor

Choose a reason for hiding this comment

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

This testLog test needs to be removed from the previous commit, otherwise it will fail as the log function no longer exists.

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.

4 participants