sql> select python_sum(i) from integers where i = 1 group by i; ==> segfault
python_sum is just a simple PYTHON_MAP function: return numpy.sum(v);
When I rebuild MonetDB with debuginfo, this is where the code fails.
pyapi3.c
for (element_it = 0; element_it < elements; element_it++) {
group_counts[aggr_group_arr[element_it]]++; ==> aggr_group_arr is null
}
I hope you can fix it soon. Thank you.
The text was updated successfully, but these errors were encountered:
Hi MonetDB dev,
I encounter this MonetDB crash when I try out the Python UDF.
Test data:
sql>select * from integers;
+------+
| i |
+======+
| 1 |
| 2 |
| 3 |
| 4 |
| 5 |
| 6 |
| 7 |
| 8 |
| 9 |
| 10 |
+------+
sql> select python_sum(i) from integers where i = 1 group by i; ==> segfault
python_sum is just a simple PYTHON_MAP function: return numpy.sum(v);
When I rebuild MonetDB with debuginfo, this is where the code fails.
pyapi3.c
for (element_it = 0; element_it < elements; element_it++) {
group_counts[aggr_group_arr[element_it]]++; ==> aggr_group_arr is null
}
I hope you can fix it soon. Thank you.
The text was updated successfully, but these errors were encountered: