Skip to content

Commit efc9cb3

Browse files
committed
fixed response with _healpix index column
1 parent c4f70a6 commit efc9cb3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/loaders/parquet/parquet.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ pub async fn process_and_return_parquet_file(
101101
let selected_arrays = original_schema.fields().iter()
102102
.map(|field| {
103103
if let Ok(index) = batch.schema().index_of(field.name()) {
104-
if columns.contains(&field.name().to_string()) || &field.name().to_string() == "_hipscat_index" {
104+
if columns.contains(&field.name().to_string()) || field.name().to_string().contains("_healpix") {
105105
batch.column(index).clone()
106106
} else {
107107
new_null_array(

0 commit comments

Comments
 (0)