Zatte

Zatte

Member Since 9 years ago

Kvantic.com, Stockholm

Experience Points
7
follower
Lessons Completed
20
follow
Lessons Completed
97
stars
Best Reply Awards
40
repos

39 contributions in the last year

Pinned
⚡ A Proof of concept / experiment of fronting Foundation DB with a GRPC gateway.
⚡ Simple key-value store backed by multiple backends
⚡ Native AngularJS (Angular) directives for Bootstrap. Small footprint (5kB gzipped!), no 3rd party JS dependencies (jQuery, bootstrap JS) required!
⚡ Simple docker img with Oracle Java 8, SBT, Spark 2.2.0
Activity
Dec
5
1 day ago
started
started time in 3 hours ago
Nov
28
1 week ago
Nov
25
1 week ago
started
started time in 1 week ago
Activity icon
fork

Zatte forked siddhi-io/siddhi

⚡ Stream Processing and Complex Event Processing Engine
Zatte Apache License 2.0 Updated
fork time in 1 week ago
Nov
11
3 weeks ago
started
started time in 3 weeks ago
Nov
8
4 weeks ago
started
started time in 3 weeks ago
Nov
5
1 month ago
push

Zatte push Zatte/n8n

Zatte
Zatte

Pipedrive - Get Activities from Deal Id

Zatte
Zatte

:sparkles: Add binary data support to Telegram Node (#2249)

  • ✨ Add binary upload for Telegram

  • :zap: Improvements to #2247

Co-authored-by: pemontto [email protected]

Zatte
Zatte

:bug: Fix n8n's behavior for empty response bodies (#2246)

  • Fixed n8n's behavior for empty response bodies

  • Correctly parsing empty bodies when expected output is a buffer

Zatte
Zatte

Fixed refresh token to work correctly with Axios

Zatte
Zatte

Changed the error handling location

Zatte
Zatte

:sparkles: Add Splunk node (#2180)

  • :sparkles: Create Splunk node

  • :hammer: Move rejectUnauthorized to credentials

  • :hammer: Remove trailing slash

  • :hammer: Clarify 401 error

  • :fire: Remove unused params

  • :fire: Remove unused logic

  • :zap: Guard against code missing

  • :hammer: Refactor filter

  • :fire: Remove params with no effect

  • :fire: Remove superfluous description

  • :fire: Remove params for unimplemented resource

  • :fire: Remove param with no effect

  • :bug: Fix multiple roles in user create and upate

  • :fire: Remove logging

  • :zap: Simplify ID handling

  • :shirt: Fix lint

  • :zap: Add cred test

  • :art: Format import

  • :pencil2: Apply Product feedback

  • :bug: Make axiox errors compatible

Co-authored-by: Jan Oberhauser [email protected]

Zatte
Zatte

:twisted_rightwards_arrows: Merge branch 'master' into fix-refresh-token-oauth

Zatte
Zatte

:twisted_rightwards_arrows: Merge branch 'fix-refresh-tot push origin masterken-oauth'

Zatte
Zatte

:bug: Fix TypeError in nodes panel text selection (#2258)

Zatte
Zatte

:books: Update Webhook parameters (#2251)

  • :books: Update Webhook parameters

Capitalization inconsistent, + spelling and minor changes

  • update Wait description
Zatte
Zatte

:zap: Add SECURITY.md file

Zatte
Zatte
Zatte
Zatte

:sparkles: Add SeaTable node and trigger (#2240)

  • Add SeaTable node

Node for SeaTable, initial credentials, trigger- and standard-node.

Contribution-by: SeaTable GmbH https://seatable.io Signed-off-by: Tom Klingenberg [email protected]

  • :zap: Improvements

  • :zap: Improvements

  • :zap: Fix node and method names and table parameter

  • :zap: Change display name for now again

Co-authored-by: Tom Klingenberg [email protected] Co-authored-by: Jan Oberhauser [email protected]

commit sha: a46c7f827d94b73326c64e7d45199d0d27498949

push time in 1 month ago
Oct
26
1 month ago
Activity icon
fork

Zatte forked keqingrong/cookie-interceptor

⚡ A simple JavaScript utility library for intercepting browser cookies
Zatte MIT License Updated
fork time in 1 month ago
Oct
25
1 month ago
started
started time in 1 month ago
Oct
22
1 month ago
started
started time in 1 month ago
Oct
19
1 month ago
started
started time in 1 month ago
Oct
12
1 month ago
started
started time in 1 month ago
Sep
27
2 months ago
started
started time in 2 months ago
Sep
25
2 months ago
started
started time in 2 months ago
started
started time in 2 months ago
Sep
24
2 months ago
Activity icon
fork

Zatte forked n8n-io/n8n

⚡ Free and open fair-code licensed node based Workflow Automation Tool. Easily automate tasks across different services.
Zatte Updated
fork time in 2 months ago
Sep
22
2 months ago
Activity icon
issue

Zatte issue comment dbt-labs/dbt

Zatte
Zatte

Add model_sql helper to enable isolated unit testing

Improves Unit testing capabilities.

Enabler for: https://github.com/fishtown-analytics/dbt/issues/2354 Discussed here: https://discourse.getdbt.com/t/testing-with-fixed-data-set/564/8

Related: https://discourse.getdbt.com/t/state-of-testing-in-dbt/1778

Description

It didn't seem to be a good(relatively speaking) method for testing models in isolation. The best was introducing branching conditions in the model based on global settings which at most allowed for 1 test / model.

This PR introduces a new helper-method model_sql() (the name is debatable, in previous discussions it was called cte) which returns the compiled SQL code of a model but under a different context (allows one to overrides var/ref/source ). Models can be tested without changes outside test code and multiple tests can be build for the same model.

I think think approach is a cleaner approach to (unit) testing than what has been proposed so far.

  1. Pure dbt (Jinja/SQL)
  2. No need for custom macros.
  3. No additional plugins (if this pr gets merged)
  4. “Full" control per test
  5. No changes/branching/flags required in production models (!)
  6. Supports all data sizes.

Example use case:

Model models/addder.sql

    SELECT 
      *,
      a+b + {{ var ("base", "0") }} AS sum
    FROM {{ ref('source_data') }}

Test tests/adder_0001.sql

{% set model_to_test = model_sql(
    'model.adder',  {
      'var': {
        'base': '1'
      },
      'ref': {
        'source_data': 'mocked_source_data'
      }})
%}

WITH
mocked_source_data AS (
  SELECT
    *
  FROM
  -- bigquery construct; same effect as union all select ....
  UNNEST([
     struct(1 as a,  2 as b,  4 as expectedSum),
     struct(2 as a,  2 as b,  5 as expectedSum),
     struct(0 as a,  0 as b,  1 as expectedSum),
     struct(1 as a, -2 as b, 0 as expectedSum)
   ])
),

final AS (
  {{ model_to_test }}
)

-- Some SQL assertion based on the specific mocked data.
SELECT * FROM final WHERE sum != expectedSum

_I haven't been writing python for some 6 years and and this is the first time interacting the the DBT core, as such the PR is not yet complete. I would like to get some feedback before investing more time into this. No point in "polishing a turd".

If the maintainer(s) think it holds value i don't mind ticking all the boxes below (or hand it over to someone else)_

Checklist

  • I have signed the CLA
  • I have run this code in development and it appears to resolve the stated issue
  • This PR includes tests, or tests are not required/relevant for this PR
  • I have updated the CHANGELOG.md and added information about my change to the "dbt next" section.
Zatte
Zatte

@jtcohen6 : Just a monthly ping, hoping this is not forgotten until the end of times :)