2015 Jan 13 10:42 AM
Hi, everyone
I got an error message" feature not supported: not supported window function:" when I try to run a sql script in SPS08.
SELECT
MEDIAN(DURA) OVER(PARTITION BY TIME2) as MedianValue,
TIME2
FROM
(
SELECT
TO_INT((HOUR(TIME_2)*60+MINUTE(TIME_2))/5) AS TIME2,
DURA
FROM
TRAFFIC.D26PAIRSCER
);
HANA gave me an error: :
Could not execute 'SELECT MEDIAN(DURA) OVER(PARTITION BY TIME2) as MedianValue, TIME2 FROM ( SELECT ...' in 11 ms 603 µs .
SAP DBTech JDBC: [7] (at 8): feature not supported: not supported window function: line 2 col 2 (at pos 😎
according to the windows function page, it looks right.
Thanks a lot!
2015 Jan 19 1:30 PM
The MEDIAN aggregation is available as of SAP HANA SPS9.
- Lars
2015 Jan 14 11:10 AM
Hello Shu,
if I understand correctly and the problem happens during HANA SQL development, this question might be sooner answered on the Space http://scn.sap.com/community/hana-in-memory, as that Space handles HANA-related questions.
Perhaps you want to post this question there too.
Best regards,
Laszlo
2015 Jan 19 2:36 PM
Dear Laszlo Badovszky,
Yes, it happens when I am in the SQL command window:).
Thanks a lot.
Best regards,
Laszlo
2015 Jan 19 1:30 PM
2015 Jan 19 2:38 PM
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |