Assigned
Status Update
Comments
vi...@google.com <vi...@google.com>
rn...@gmail.com <rn...@gmail.com> #2
is there any news on this?
vi...@google.com <vi...@google.com> #3 Restricted
Restricted
Comment has been deleted.
vi...@google.com <vi...@google.com> #4
I had to implement a solution to pivot 300 rows into columns. We need a better way to pivot rows. Conditional aggregation or sql generators are cumbersome and error-prone.
sp...@gmail.com <sp...@gmail.com> #5
Even Kurt's example linked above still requires you to write out 300 clauses for each column. Generating SQL really is the best option.
pa...@gmail.com <pa...@gmail.com> #6
We want something like:
SELECT * FROM
(
SELECT
category_name,
product_id
FROM
production.products p
INNER JOIN production.categories c
ON c.category_id = p.category_id
) t
PIVOT(
COUNT(product_id)
FOR category_name IN (
[Children Bicycles],
[Comfort Bicycles],
[Cruisers Bicycles],
[Cyclocross Bicycles],
[Electric Bikes],
[Mountain Bikes],
[Road Bikes])
) AS pivot_table;
SELECT * FROM
(
SELECT
category_name,
product_id
FROM
production.products p
INNER JOIN production.categories c
ON c.category_id = p.category_id
) t
PIVOT(
COUNT(product_id)
FOR category_name IN (
[Children Bicycles],
[Comfort Bicycles],
[Cruisers Bicycles],
[Cyclocross Bicycles],
[Electric Bikes],
[Mountain Bikes],
[Road Bikes])
) AS pivot_table;
pa...@google.com <pa...@google.com> #8
Any update regarding PIVOT functionality?
tu...@google.com <tu...@google.com>
an...@gmail.com <an...@gmail.com> #10
update!
ja...@gmail.com <ja...@gmail.com> #11
not sure where to upvote so writing here instead. i would love this!
ro...@googlemail.com <ro...@googlemail.com> #12
Yes please!
ly...@gmail.com <ly...@gmail.com> #13
Yes, great idea!
an...@gmail.com <an...@gmail.com> #14
Would be very helpful indeed.
ri...@googlemail.com <ri...@googlemail.com> #15
Yes, great idea!
ro...@googlemail.com <ro...@googlemail.com> #16
Would like to use that too
er...@gmail.com <er...@gmail.com> #17
+1
je...@gmail.com <je...@gmail.com> #18
+1
is...@google.com <is...@google.com>
ma...@google.com <ma...@google.com>
ze...@gmail.com <ze...@gmail.com> #19
+1
pr...@googlemail.com <pr...@googlemail.com> #20
+1
Description
The proximity sensor doesn't work on dark surfaces, preventing the Always-on display to turn off when the phone is face down on a table, or when in a pocket lined with dark fabric. It also makes Flip to Shh unreliable as it doesn't engage sometimes when the phone is on a dark surface.
I recorded video in comparison with a Pixel 3 for more clarity, high pitch beep is proximity on and lower pitch proximity off:
This was done with a Tasker task for testing.