flock-lab / flock

Flock: A Low-Cost Streaming Query Engine on FaaS Platforms
https://flock-lab.github.io/flock/
GNU Affero General Public License v3.0
291 stars 39 forks source link

fix: move query number to payload #349

Closed gangliao closed 2 years ago

gangliao commented 2 years ago

Which issue does this PR close?

Closes #.

Rationale for this change

Because environment variables must be set when the function is created. If the query number is set in the environment variable, the old data source function will be unable to reuse itself every time a new query is performed. As a result, we included the query number in the payload.

What changes are included in this PR?

Are there any user-facing changes?

By submitting this pull request