You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
trying to write a single query to check the version of a particular application (say Zoom) across both Windows and Mac, but not quite figuring out how to write it, since apps only exists on Mac, and programs only exists on Windows, so I can't do a simple SELECT 1 FROM APPS, PROGRAMS WHERE .... because it'll error out when it doesn't find whichever the other platform's table is.
Today, the customer has to write 3 separate queries when trying to find apps like Chrome and the version number on macs, windows, and linux machines. This adds a ton of complexity.
The text was updated successfully, but these errors were encountered:
One potential solution: When you query a table on a platform that doesn't exist/isn't supported (i.e. apps on Windows), rather than sending back an error, send back an empty table or a table with one row that says "Error, table "apps" doesn't exist on this platform" etc. Then you could still run a query on it, but filter out the rows LIKE "%ERROR%"
From the customer:
trying to write a single query to check the version of a particular application (say Zoom) across both Windows and Mac, but not quite figuring out how to write it, since
apps
only exists on Mac, and programs only exists on Windows, so I can't do a simpleSELECT 1 FROM APPS, PROGRAMS WHERE ....
because it'll error out when it doesn't find whichever the other platform's table is.Today, the customer has to write 3 separate queries when trying to find apps like Chrome and the version number on macs, windows, and linux machines. This adds a ton of complexity.
The text was updated successfully, but these errors were encountered: