Skip to content

Commit

Permalink
New Deployment for Wed Sep 4 19:46:20 UTC 2024
Browse files Browse the repository at this point in the history
  • Loading branch information
actions-user committed Sep 4, 2024
1 parent dac2a1c commit 8090490
Show file tree
Hide file tree
Showing 26 changed files with 545 additions and 1,279 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -146,8 +146,6 @@ function sum(bigint) returns bigint
function sum(double) returns double
function sum(decimal(p, s)) returns decimal(38, s)
function sum(real) returns real
function sum(interval day to second) returns interval day to second
function sum(interval year to month) returns interval year to month
```
[🔗 Official Documentation](https://trino.io/docs/current/functions/aggregate.html#sum)

Expand Down
111 changes: 55 additions & 56 deletions docs/guide/advanced/logging.mdx

Large diffs are not rendered by default.

20 changes: 10 additions & 10 deletions docs/guide/data-quality/checks.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ Let's write and modify a check, starting with one of the sdf samples.
    Created hello_with_pii/checks/code_check.sql
    Created hello_with_pii/models/main.sql
    Created hello_with_pii/workspace.sdf.yml
   Finished new in 0.285 secs
   Finished new in 0.301 secs

</code>
</pre>
Expand Down Expand Up @@ -71,7 +71,7 @@ Working&nbsp;set&nbsp;1&nbsp;model&nbsp;file,&nbsp;1&nbsp;.sdf&nbsp;file
&nbsp;&nbsp;Compiling&nbsp;hello.pub.main&nbsp;(./models/main.sql)
Working&nbsp;set&nbsp;1&nbsp;test&nbsp;file,&nbsp;1&nbsp;.sdf&nbsp;file
&nbsp;&nbsp;&nbsp;Checking&nbsp;hello.pub.code_check&nbsp;(./checks/code_check.sql)
&nbsp;&nbsp;&nbsp;Finished&nbsp;1&nbsp;model&nbsp;[1&nbsp;succeeded],&nbsp;1&nbsp;check&nbsp;[1&nbsp;passed]&nbsp;in&nbsp;1.141&nbsp;secs
&nbsp;&nbsp;&nbsp;Finished&nbsp;1&nbsp;model&nbsp;[1&nbsp;succeeded],&nbsp;1&nbsp;check&nbsp;[1&nbsp;passed]&nbsp;in&nbsp;1.259&nbsp;secs
[Pass]&nbsp;Check&nbsp;hello.pub.code_check
</code>
Expand Down Expand Up @@ -115,18 +115,18 @@ Working&nbsp;set&nbsp;1&nbsp;model&nbsp;file,&nbsp;1&nbsp;.sdf&nbsp;file
&nbsp;&nbsp;Compiling&nbsp;hello.pub.main&nbsp;(./models/main.sql)
Working&nbsp;set&nbsp;1&nbsp;test&nbsp;file,&nbsp;1&nbsp;.sdf&nbsp;file
&nbsp;&nbsp;&nbsp;Checking&nbsp;hello.pub.code_check&nbsp;(./checks/code_check.sql)
&nbsp;&nbsp;&nbsp;Finished&nbsp;1&nbsp;model&nbsp;[1&nbsp;succeeded],&nbsp;1&nbsp;check&nbsp;[1&nbsp;failed]&nbsp;in&nbsp;1.155&nbsp;secs,&nbsp;for&nbsp;details&nbsp;see&nbsp;below.
&nbsp;&nbsp;&nbsp;Finished&nbsp;1&nbsp;model&nbsp;[1&nbsp;succeeded],&nbsp;1&nbsp;check&nbsp;[1&nbsp;failed]&nbsp;in&nbsp;1.260&nbsp;secs,&nbsp;for&nbsp;details&nbsp;see&nbsp;below.
[Fail]&nbsp;Check&nbsp;hello.pub.code_check
┌────────────┬───────────────┬─────────────┐
│&nbsp;table_name&nbsp;┆&nbsp;&quot;column&nbsp;name&quot;&nbsp;┆&nbsp;classifiers&nbsp;│
╞════════════╪═══════════════╪═════════════╡
│&nbsp;main&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;┆&nbsp;column_2&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;┆&nbsp;[PII.name]&nbsp;&nbsp;│
└────────────┴───────────────┴─────────────┘
┌────────────┬─────────────┬─────────────┐
│&nbsp;table_name&nbsp;┆&nbsp;column&nbsp;name&nbsp;┆&nbsp;classifiers&nbsp;│
╞════════════╪═════════════╪═════════════╡
│&nbsp;main&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;┆&nbsp;column_2&nbsp;&nbsp;&nbsp;&nbsp;┆&nbsp;[PII.name]&nbsp;&nbsp;│
└────────────┴─────────────┴─────────────┘
1&nbsp;rows.
&#45;&#45;&#45;&#45;&#45;&#45;&#45;
Summary&nbsp;1&nbsp;model&nbsp;[1&nbsp;succeeded],&nbsp;1&nbsp;check&nbsp;[1&nbsp;failed]&nbsp;in&nbsp;1.155&nbsp;secs.
Summary&nbsp;1&nbsp;model&nbsp;[1&nbsp;succeeded],&nbsp;1&nbsp;check&nbsp;[1&nbsp;failed]&nbsp;in&nbsp;1.260&nbsp;secs.
&#45;&#45;&#45;&#45;&#45;&#45;&#45;
</code>
Expand Down Expand Up @@ -188,7 +188,7 @@ Working&nbsp;set&nbsp;2&nbsp;model&nbsp;files,&nbsp;1&nbsp;.sdf&nbsp;file
&nbsp;&nbsp;Compiling&nbsp;hello.pub.sink&nbsp;(./models/sink.sql)
Working&nbsp;set&nbsp;1&nbsp;test&nbsp;file,&nbsp;1&nbsp;.sdf&nbsp;file
&nbsp;&nbsp;&nbsp;Checking&nbsp;hello.pub.code_check&nbsp;(./checks/code_check.sql)
&nbsp;&nbsp;&nbsp;Finished&nbsp;2&nbsp;models&nbsp;[2&nbsp;succeeded],&nbsp;1&nbsp;check&nbsp;[1&nbsp;passed]&nbsp;in&nbsp;1.146&nbsp;secs
&nbsp;&nbsp;&nbsp;Finished&nbsp;2&nbsp;models&nbsp;[2&nbsp;succeeded],&nbsp;1&nbsp;check&nbsp;[1&nbsp;passed]&nbsp;in&nbsp;1.243&nbsp;secs
[Pass]&nbsp;Check&nbsp;hello.pub.code_check
</code>
Expand Down
58 changes: 29 additions & 29 deletions docs/guide/data-quality/reports.mdx

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions docs/guide/data-quality/tests.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ When `sdf test` runs this query, it will check if any data is returned and fail
Working&nbsp;set&nbsp;1&nbsp;model&nbsp;file,&nbsp;1&nbsp;test&nbsp;file,&nbsp;1&nbsp;.sdf&nbsp;file
&nbsp;&nbsp;&nbsp;&nbsp;Running&nbsp;hello.pub.main&nbsp;(./models/main.sql)
&nbsp;&nbsp;&nbsp;&nbsp;Testing&nbsp;hello.pub.test_main&nbsp;(./sdftarget/dbg/tests/hello/pub/test_main.sql)
&nbsp;&nbsp;&nbsp;Finished&nbsp;1&nbsp;model&nbsp;[1&nbsp;succeeded],&nbsp;1&nbsp;test&nbsp;[1&nbsp;passed]&nbsp;in&nbsp;0.741&nbsp;secs
&nbsp;&nbsp;&nbsp;Finished&nbsp;1&nbsp;model&nbsp;[1&nbsp;succeeded],&nbsp;1&nbsp;test&nbsp;[1&nbsp;passed]&nbsp;in&nbsp;0.802&nbsp;secs
[Pass]&nbsp;Test&nbsp;hello.pub.test_main

</code>
Expand Down Expand Up @@ -180,7 +180,7 @@ table:
Working&nbsp;set&nbsp;1&nbsp;model&nbsp;file,&nbsp;1&nbsp;test&nbsp;file,&nbsp;2&nbsp;.sdf&nbsp;files
&nbsp;&nbsp;&nbsp;&nbsp;Running&nbsp;tests_workspace.pub.raw_inapp_events&nbsp;(./models/raw_inapp_events.sql)
&nbsp;&nbsp;&nbsp;&nbsp;Testing&nbsp;tests_workspace.pub.test_raw_inapp_events&nbsp;(./sdftarget/dbg/tests/tests_workspace/pub/test_raw_inapp_events.sql)
&nbsp;&nbsp;&nbsp;Finished&nbsp;1&nbsp;model&nbsp;[1&nbsp;succeeded],&nbsp;1&nbsp;test&nbsp;[1&nbsp;passed]&nbsp;in&nbsp;0.781&nbsp;secs
&nbsp;&nbsp;&nbsp;Finished&nbsp;1&nbsp;model&nbsp;[1&nbsp;succeeded],&nbsp;1&nbsp;test&nbsp;[1&nbsp;passed]&nbsp;in&nbsp;0.831&nbsp;secs
[Pass]&nbsp;Test&nbsp;tests_workspace.pub.test_raw_inapp_events

</code>
Expand Down Expand Up @@ -265,7 +265,7 @@ ORDER&nbsp;BY&nbsp;reason;
<code className='language-error'>
Running tests_workspace.pub.raw_inapp_events (./models/raw_inapp_events.sql)
Testing tests_workspace.pub.test_raw_inapp_events (./sdftarget/dbg/tests/tests_workspace/pub/test_raw_inapp_events.sql)
Finished 1 model [1 succeeded], 1 test [1 failed] in 0.763 secs, for details see below.
Finished 1 model [1 succeeded], 1 test [1 failed] in 0.851 secs, for details see below.
[Fail] Test tests_workspace.pub.test_raw_inapp_events
┌─────────────────────────────────────────────────────┐
│ reason │
Expand All @@ -275,7 +275,7 @@ ORDER&nbsp;BY&nbsp;reason;
1 rows.

-------
Summary 1 model [1 succeeded], 1 test [1 failed] in 0.763 secs.
Summary 1 model [1 succeeded], 1 test [1 failed] in 0.851 secs.
-------

</code>
Expand All @@ -300,7 +300,7 @@ to run custom testing macros.
<pre style={{ fontFamily: 'monospace', backgroundColor: 'transparent' }} className='language-error'>
<code className='language-error'>
&nbsp;&nbsp;&nbsp;&nbsp;Cleaned&nbsp;sdftarget
&nbsp;&nbsp;&nbsp;Finished&nbsp;clean&nbsp;in&nbsp;0.286&nbsp;secs
&nbsp;&nbsp;&nbsp;Finished&nbsp;clean&nbsp;in&nbsp;0.303&nbsp;secs
.
├──&nbsp;custom_tests
├──&nbsp;models
Expand Down Expand Up @@ -384,7 +384,7 @@ to run custom testing macros.
Working&nbsp;set&nbsp;1&nbsp;model&nbsp;file,&nbsp;1&nbsp;test&nbsp;file,&nbsp;2&nbsp;.sdf&nbsp;files
&nbsp;&nbsp;&nbsp;&nbsp;Running&nbsp;tests_workspace.pub.raw_inapp_events&nbsp;(./models/raw_inapp_events.sql)
&nbsp;&nbsp;&nbsp;&nbsp;Testing&nbsp;tests_workspace.pub.test_raw_inapp_events&nbsp;(./sdftarget/dbg/tests/tests_workspace/pub/test_raw_inapp_events.sql)
&nbsp;&nbsp;&nbsp;Finished&nbsp;1&nbsp;model&nbsp;[1&nbsp;succeeded],&nbsp;1&nbsp;test&nbsp;[1&nbsp;passed]&nbsp;in&nbsp;0.753&nbsp;secs
&nbsp;&nbsp;&nbsp;Finished&nbsp;1&nbsp;model&nbsp;[1&nbsp;succeeded],&nbsp;1&nbsp;test&nbsp;[1&nbsp;passed]&nbsp;in&nbsp;0.812&nbsp;secs
[Pass]&nbsp;Test&nbsp;tests_workspace.pub.test_raw_inapp_events

</code>
Expand Down
4 changes: 2 additions & 2 deletions docs/guide/setup/io.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ Let's try these options. Start by creating a new SDF workspace with a sample pro
&nbsp;&nbsp;&nbsp;&nbsp;Created&nbsp;lineage/models/sink.sql
&nbsp;&nbsp;&nbsp;&nbsp;Created&nbsp;lineage/models/source.sql
&nbsp;&nbsp;&nbsp;&nbsp;Created&nbsp;lineage/workspace.sdf.yml
&nbsp;&nbsp;&nbsp;Finished&nbsp;new&nbsp;in&nbsp;0.284&nbsp;secs
&nbsp;&nbsp;&nbsp;Finished&nbsp;new&nbsp;in&nbsp;0.296&nbsp;secs

</code>
</pre>
Expand Down Expand Up @@ -117,7 +117,7 @@ Working&nbsp;set&nbsp;4&nbsp;model&nbsp;files,&nbsp;1&nbsp;.sdf&nbsp;file
&nbsp;&nbsp;Compiling&nbsp;lineage.pub.middle&nbsp;(./models/middle.sql)
&nbsp;&nbsp;Compiling&nbsp;lineage.pub.knis&nbsp;(./models/knis.sql)
&nbsp;&nbsp;Compiling&nbsp;lineage.pub.sink&nbsp;(./models/sink.sql)
&nbsp;&nbsp;&nbsp;Finished&nbsp;4&nbsp;models&nbsp;[4&nbsp;succeeded]&nbsp;in&nbsp;0.725&nbsp;secs
&nbsp;&nbsp;&nbsp;Finished&nbsp;4&nbsp;models&nbsp;[4&nbsp;succeeded]&nbsp;in&nbsp;0.789&nbsp;secs

</code>
</pre>
Expand Down
2 changes: 1 addition & 1 deletion docs/integrations/aws/S3/s3-example.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ Working&nbsp;set&nbsp;2&nbsp;model&nbsp;files,&nbsp;1&nbsp;.sdf&nbsp;file
&nbsp;&nbsp;&nbsp;&nbsp;Running&nbsp;hello_world.pub.popdata&nbsp;(./local/popdata.sql)
&nbsp;&nbsp;&nbsp;&nbsp;Running&nbsp;hello_world.pub.world_metrics&nbsp;(./local/world_metrics.sql)
&nbsp;&nbsp;&nbsp;&nbsp;Running&nbsp;hello_world.pub.world_metrics_1&nbsp;(./local/world_metrics.sql)
&nbsp;&nbsp;&nbsp;Finished&nbsp;3&nbsp;models&nbsp;[3&nbsp;succeeded]&nbsp;in&nbsp;0.742&nbsp;secs
&nbsp;&nbsp;&nbsp;Finished&nbsp;3&nbsp;models&nbsp;[3&nbsp;succeeded]&nbsp;in&nbsp;0.801&nbsp;secs
Table&nbsp;hello_world.pub.popdata
┌───────────────┬────────────┬─────────────┬────────────────────────────────┐
Expand Down
2 changes: 1 addition & 1 deletion docs/integrations/dagster/getting-started.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ The following guide assumes you already have an active SDF workspace. If not, yo
<div className="bg-[#0F1117] dark:bg-codeblock rounded-xl dark:ring-1 dark:ring-gray-800/50 relative">
<pre style={{ fontFamily: 'monospace', backgroundColor: 'transparent' }} className='language-shell'>
<code className='language-shell'>
sdf&nbsp;0.3.23
sdf&nbsp;0.3.24

</code>
</pre>
Expand Down
Loading

0 comments on commit 8090490

Please sign in to comment.