[MDEV-16489] when lead() returns null on a datetime field, the result is treated as the literal string '[NULL]' Created: 2018-06-14 Updated: 2018-06-20 Resolved: 2018-06-20 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Optimizer - Window functions |
| Affects Version/s: | 10.3.5, 10.3.7 |
| Fix Version/s: | 10.3.8, 10.4.0 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Corbin Bohne | Assignee: | Alexander Barkov |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||
| Description |
|
|
| Comments |
| Comment by Alice Sherepa [ 2018-06-14 ] | |||||||||||||||||||||||||||||||||||||||||||||
|
Here are results, that I get, seems to work correct
| |||||||||||||||||||||||||||||||||||||||||||||
| Comment by Corbin Bohne [ 2018-06-19 ] | |||||||||||||||||||||||||||||||||||||||||||||
|
This was on a temporary install of MariaDB on AWS EC2. It's since been uninstalled and I can't recover the .cnf files. Let me talk to our DevOps to confirm the MariaDB version that we we had installed really quick and get back to you. Perhaps it was 10.3.x | |||||||||||||||||||||||||||||||||||||||||||||
| Comment by Corbin Bohne [ 2018-06-19 ] | |||||||||||||||||||||||||||||||||||||||||||||
|
Okay, it was actually version 10.3.7. Sorry about the initial miscommunication. Test and let me know if you can replicate. | |||||||||||||||||||||||||||||||||||||||||||||
| Comment by Alice Sherepa [ 2018-06-20 ] | |||||||||||||||||||||||||||||||||||||||||||||
|
corbin_mdb, thanks, reproducible on MariaDB 10.3.5 and higher
before:
|