How to come from data in 1 to data in 2? Note that the col1 is continuous.
col1
2.3
2.3
2.3
5.7
5.7
6.1
6.1
....
..
.
I want to achieve this:
col1 | col2
2.3 | 1
2.3 |1
2.3 |1
5.7 |2
5.7 |2
6.1 |3
6.1 |3
....
..
.
How to come from data in 1 to data in 2? Note that the col1 is continuous.
col1
2.3
2.3
2.3
5.7
5.7
6.1
6.1
....
..
.
I want to achieve this:
col1 | col2
2.3 | 1
2.3 |1
2.3 |1
5.7 |2
5.7 |2
6.1 |3
6.1 |3
....
..
.
Hi @Felicien_Ihirwe,
Can you give a bit more detail on what transform based on col1
that you're trying to do. Are you wanting to add a new field col2
that is an identifier of the value?
© 2020. All Rights Reserved - Elasticsearch
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant logo are trademarks of the Apache Software Foundation in the United States and/or other countries.