https://pinot.apache.org/ logo
#general
Title
# general
t

Tim Mwangi

06/23/2020, 9:26 PM
Copy code
// Sample avro schema with an aliased field
record Foo {
  string @aliases(["old_bar"]) bar;

  // Other fields
}
m

Mayank

06/23/2020, 9:27 PM
Do you mean rename a column
foo
in avro to be
bar
in Pinot? Or have the same column referred to as
foo
as well as
bar
within Pinot?
For the former, you can use transform function to do the mapping during ingestion. Latter is not supported.
t

Tim Mwangi

06/23/2020, 9:29 PM
Have the same column referred to as 
foo
 as well as 
bar
 within Pinot. Old name was
foo
. I’d like to rename it to
bar
but some other service is still querying using
foo
ok
k

Kishore G

06/23/2020, 9:54 PM
@Tim Mwangi can you please an issue for this?
t

Tim Mwangi

06/24/2020, 3:12 AM
Sure @Kishore G