influxdata / influxdata/influxdb

My code will break when the join() function is replaced by experimental.join()

Open
#20,011 4 comments 1 reaction 1 assignee Claimed by @nathanielc View on GitHub
area/flux
Dominant language
Rust
Stars
31.7k
Forks
3.7k
Avg merge
13h 37m
Merged PRs (30d)
8

Description

According to [this ](https://docs.influxdata.com/influxdb/v2.0/reference/flux/stdlib/experimental/join/)link

> The [experimental.join()](https://docs.influxdata.com/influxdb/v2.0/reference/flux/stdlib/experimental/join/) function will likely replace the [join()](https://docs.influxdata.com/influxdb/v2.0/reference/flux/stdlib/built-in/transformations/join/) function when sufficiently vetted.

The problem is going to be that the experimental.join() function forces you to join on *_time*.

WHY ???

My current use does not join on _time. It joins on a custom field. In fact it’s critical that I don’t join on _time for what I’m doing.
What am I doing? I’m adding a product code to a table of timed data. The product code links _field with a _code. But the table with the _code value has 0 as the time because it covers all-time. Therefore I want to join on a _code **NOT** _time.

So please please either add the same flexibility to the experimental.join() function. Or commit to keeping both permanently.

Cheers

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.