-
Notifications
You must be signed in to change notification settings - Fork 481
Put COUNTER
, DATUMS
load gen sources behind feature flag
#33847
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
Put COUNTER
, DATUMS
load gen sources behind feature flag
#33847
Conversation
f4cd022
to
4a64c73
Compare
'CREATE SOURCE' ('IF NOT EXISTS')? src_name | ||
('IN CLUSTER' cluster_name)? | ||
'FROM LOAD GENERATOR' ('AUCTION' | 'COUNTER' | 'MARKETING' | 'TPCH' | 'KEY VALUE') | ||
'FROM LOAD GENERATOR' ('AUCTION' | 'MARKETING' | 'TPCH' | 'KEY VALUE') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Did you want to also remove KEY VALUE
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also the relevant options from the syntax diagram (e.g., VALUE SIZE
)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, it's an internal-only type that is also not used in many places. I'll probably delete it in a subsequent PR
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh, you mean that I forgot to do it. Yes, you're absolutely right. Will remove now
DROP MATERIALIZED VIEW IF EXISTS counter_sum; | ||
DROP SOURCE IF EXISTS counter; | ||
DROP MATERIALIZED VIEW IF EXISTS amount_sum; | ||
DROP SOURCE IF EXISTS auction; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
CASCADE for dropping auction?
We will eventually phase out these load generators so for now make sure no one relies on them except our tests. Signed-off-by: Petros Angelatos <[email protected]>
4a64c73
to
85df858
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wrong source name ... but once those are fixed, lgtm.
DROP MATERIALIZED VIEW IF EXISTS counter_sum; | ||
DROP SOURCE IF EXISTS counter; | ||
DROP MATERIALIZED VIEW IF EXISTS amount_sum; | ||
DROP SOURCE IF EXISTS amount; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Heh ... DROP SOURCE IF EXISTS auction CASCADE;
DROP MATERIALIZED VIEW IF EXISTS counter_sum; | ||
DROP SOURCE IF EXISTS counter; | ||
DROP MATERIALIZED VIEW IF EXISTS ammount_sum; | ||
DROP SOURCE IF EXISTS amount; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same. DROP SOURCE IF EXISTS auction CASCADE;
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually, saw that this was in an auto-merge ... so, changed review status.
Signed-off-by: Petros Angelatos <[email protected]>
85df858
to
63b90d8
Compare
@kay-kim sorry about those typos! It should be good to go now |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm 🎉 Thank you!!!!
Motivation
The intent is to remove these load generators completely but at the moment we use them in our internal test suite quite extensively. Putting them behind a feature flag ensures we won't get any external users depending on them.
Tips for reviewer
Checklist
$T ⇔ Proto$T
mapping (possibly in a backwards-incompatible way), then it is tagged with aT-proto
label.