Skip to content

Testing #265

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion change_column_type_landing_and_recover_quarantine_data/.tinyenv
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
# bump post to deploy to the current live Release, rollback to previous post version is not available
# bump patch or minor to deploy a new Release and auto-promote it to live. Add TB_AUTO_PROMOTE=0 to create the Release in preview status
# bump major to deploy a new Release in preview status
VERSION=2.0.0
VERSION=2.0.1




Expand All @@ -12,6 +13,13 @@ VERSION=2.0.0
# Deploy a new Release in preview status (default is 1)
# TB_AUTO_PROMOTE=0

# Check if deploy requires backfilling on preview (default is 1)
# TB_CHECK_BACKFILL_REQUIRED=0

# Force old Releases deletion on promote (default is 0)
# Setting it to 1 will remove oldest rollback Releases even when some resource is still in use
# TB_FORCE_REMOVE_OLDEST_ROLLBACK=0

# Don't print CLI version warning message if there's a new available version
# TB_VERSION_WARNING=0

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,27 +39,29 @@ SQL >
)
}}
)
) as end
{% else %} toStartOfDay(today()) as end
{% end %}
) as
end {% else %} toStartOfDay(today()) as
end {% end %}
{% if _single_day %}
select
arrayJoin(
arrayMap(
x -> toDateTime(x),
range(
toUInt32(toDateTime(start)), toUInt32(timestampAdd(end, interval 1 day)), 3600
)
range(toUInt32(toDateTime(start)), toUInt32(timestampAdd(end, interval 1 day)),
3600
)
) as date
)
) as date
{% else %}
select
arrayJoin(
arrayMap(
x -> toDate(x),
range(toUInt32(start), toUInt32(timestampAdd(end, interval 1 day)), 24 * 3600)
range(toUInt32(start), toUInt32(timestampAdd(end, interval 1 day)),
24 * 3600
)
) as date
)
) as date
{% end %}
where date <= now()

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
TOKEN "untitled_pipe_5011_endpoint_read_1955" READ

NODE untitled_pipe_5011_0
SQL >
SELECT action, count() FROM analytics_events GROUP BY action