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

Update workspaces with new functions and syntax #27533

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

estherk15
Copy link
Contributor

@estherk15 estherk15 commented Feb 10, 2025

What does this PR do? What is the motivation?

  • Add new functions and syntax, requested by product team
  • DOCS-10039

Merge instructions

Merge readiness:

  • Ready for merge

Merge queue is enabled in this repo. To have it automatically merged after it receives the required reviews, create the PR (from a branch that follows the <yourname>/description naming convention) and then add the following PR comment:

/merge

Additional notes

@estherk15 estherk15 requested a review from a team as a code owner February 10, 2025 18:24
Copy link
Contributor

Preview links (active after the build_preview check completes)

Modified Files

@jhgilbert jhgilbert self-assigned this Feb 10, 2025
Copy link
Contributor

@jhgilbert jhgilbert left a comment

Choose a reason for hiding this comment

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

I left a few suggestions, delaying approval since there's a typo in a function name.

More line breaks in the SQL code blocks within the tables might make it less awkward -- right now I have to scroll quite a bit horizontally in the table to read some of the code snippets. Thank you!

content/en/logs/workspaces/sql_reference.md Outdated Show resolved Hide resolved
| `extract(field from timestamp/interval)` | numeric | Extracts a part of a date or time field (e.g., year, month) from a timestamp or interval. |
| `to_timestamp(numeric n)` | timestamp with time zone | Converts a numeric value to a timestamp with time zone. |
| `to_char(timestamp t / interval i / numeric n, format f)` | string | Converts a timestamp, interval, or numeric value to a string using a format.|
| `date_trunct(field f, source [, time_zone])` | timestamp [with time zone] / interval | Truncates a timestamp or interval to a specified precision. |
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
| `date_trunct(field f, source [, time_zone])` | timestamp [with time zone] / interval | Truncates a timestamp or interval to a specified precision. |
| `date_trunc(field f, source [, time_zone])` | timestamp [with time zone] / interval | Truncates a timestamp or interval to a specified precision. |

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@iFallUpHill Is this a typo?

Co-authored-by: Jen Gilbert <[email protected]>
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.

2 participants