MariaDB test fix.
This commit is contained in:
parent
31479f2130
commit
df93283516
1 changed files with 5 additions and 0 deletions
|
|
@ -530,6 +530,11 @@ LOCK IN SHARE MODE;
|
||||||
}
|
}
|
||||||
|
|
||||||
func TestWindowFunction(t *testing.T) {
|
func TestWindowFunction(t *testing.T) {
|
||||||
|
|
||||||
|
if sourceIsMariaDB() {
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
var expectedSQL = `
|
var expectedSQL = `
|
||||||
SELECT AVG(payment.amount) OVER (),
|
SELECT AVG(payment.amount) OVER (),
|
||||||
AVG(payment.amount) OVER (PARTITION BY payment.customer_id),
|
AVG(payment.amount) OVER (PARTITION BY payment.customer_id),
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue