snowplow / snowbridge

For replicating streams across clouds, accounts and regions
Other
15 stars 7 forks source link

Allow Lua transformation to return nil Data when filtering out #200

Closed colmsnowplow closed 2 years ago

colmsnowplow commented 2 years ago

The JS transformation allows one not to return any data when filtering out, whereas the Lua transformation does not.

I believe it's better to allow it, since it'll be cheaper not to pass any unnecessary data around when we filter out.

colmsnowplow commented 2 years ago

I was mistaken here - I've since run some tests which don't fail when Data is empty. So I think perhaps this was just user error on my part.