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

Triggers docs, syntax, limitations #19129

Merged
merged 6 commits into from
Nov 14, 2024
Merged

Triggers docs, syntax, limitations #19129

merged 6 commits into from
Nov 14, 2024

Conversation

taroface
Copy link
Contributor

@taroface taroface commented Nov 13, 2024

DOC-10438
DOC-11539
DOC-11590
DOC-11681

  • Triggers feature doc (Preview)
  • CREATE TRIGGER (Preview)
  • DROP TRIGGER (Preview)
  • Triggers known limitations for v24.3
  • Updates to related docs

Note that the CREATE/DROP TRIGGER SQL diagrams will not match the docs until cockroachdb/cockroach#135051 merges.

Copy link

netlify bot commented Nov 13, 2024

Deploy Preview for cockroachdb-api-docs canceled.

Name Link
🔨 Latest commit bee5d5d
🔍 Latest deploy log https://app.netlify.com/sites/cockroachdb-api-docs/deploys/673679316961510008601e3f

Copy link

netlify bot commented Nov 13, 2024

Deploy Preview for cockroachdb-interactivetutorials-docs ready!

Name Link
🔨 Latest commit bee5d5d
🔍 Latest deploy log https://app.netlify.com/sites/cockroachdb-interactivetutorials-docs/deploys/67367931acdbe20008797f4a
😎 Deploy Preview https://deploy-preview-19129--cockroachdb-interactivetutorials-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

netlify bot commented Nov 13, 2024

Netlify Preview

Name Link
🔨 Latest commit bee5d5d
🔍 Latest deploy log https://app.netlify.com/sites/cockroachdb-docs/deploys/673679315aa4b60008463bdc
😎 Deploy Preview https://deploy-preview-19129--cockroachdb-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@taroface taroface force-pushed the triggers branch 4 times, most recently from 918eb08 to 0b8d3e2 Compare November 13, 2024 04:15
craig bot pushed a commit to cockroachdb/cockroach that referenced this pull request Nov 13, 2024
135051: docgen: update SQL diagrams for triggers r=DrewKimball a=taroface

Made updates to the CREATE TRIGGER and DROP TRIGGER SQL diagrams. These will be used with the docs added in cockroachdb/docs#19129

The generated diagrams:
![image](https://github.com/user-attachments/assets/8d0122a9-a604-4b5f-91d9-2922322fda56)

![image](https://github.com/user-attachments/assets/e77faa29-400e-48bc-8096-657a23d38eeb)

Epic: none
Release note: none
Release justification: non-production code change

Co-authored-by: Ryan Kuo <[email protected]>
@taroface taroface requested review from michae2 and mw5h November 13, 2024 18:19
craig bot pushed a commit to cockroachdb/cockroach that referenced this pull request Nov 13, 2024
134886: roachtest: split perturbation/* tests r=kvoli a=andrewbaptist

This commit splits all the individual perturbations into separate files. This will make it easier to find and update a perturbation.

Epic: none

Release note: None

135051: docgen: update SQL diagrams for triggers r=DrewKimball a=taroface

Made updates to the CREATE TRIGGER and DROP TRIGGER SQL diagrams. These will be used with the docs added in cockroachdb/docs#19129

The generated diagrams:
![image](https://github.com/user-attachments/assets/8d0122a9-a604-4b5f-91d9-2922322fda56)

![image](https://github.com/user-attachments/assets/9224382e-76a9-42f6-b2a8-4ad4058cadcf)

Epic: none
Release note: none
Release justification: non-production code change

Co-authored-by: Andrew Baptist <[email protected]>
Co-authored-by: Ryan Kuo <[email protected]>
src/current/v24.3/create-trigger.md Outdated Show resolved Hide resolved
src/current/v24.3/triggers.md Outdated Show resolved Hide resolved
src/current/v24.3/triggers.md Show resolved Hide resolved
src/current/v24.3/triggers.md Show resolved Hide resolved
src/current/v24.3/triggers.md Outdated Show resolved Hide resolved
src/current/v24.3/triggers.md Outdated Show resolved Hide resolved
src/current/v24.3/triggers.md Outdated Show resolved Hide resolved
src/current/v24.3/triggers.md Show resolved Hide resolved
src/current/v24.3/triggers.md Show resolved Hide resolved
@taroface
Copy link
Contributor Author

@DrewKimball Addressed your comments & had a follow-up question -- PTAL!

Copy link

@DrewKimball DrewKimball left a comment

Choose a reason for hiding this comment

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

Great work!

Copy link
Contributor

@florence-crl florence-crl left a comment

Choose a reason for hiding this comment

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

LGTM pending suggestions.

src/current/v24.3/triggers.md Outdated Show resolved Hide resolved
src/current/v24.3/triggers.md Show resolved Hide resolved
src/current/v24.3/triggers.md Outdated Show resolved Hide resolved
src/current/v24.3/triggers.md Show resolved Hide resolved
src/current/v24.3/triggers.md Outdated Show resolved Hide resolved
src/current/v24.3/create-trigger.md Show resolved Hide resolved
src/current/v24.3/create-trigger.md Outdated Show resolved Hide resolved
@taroface taroface merged commit b93b0b9 into main Nov 14, 2024
6 checks passed
@taroface taroface deleted the triggers branch November 14, 2024 22:38
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.

3 participants