Change theme
Help
Press space for more information.
Show links for this issue (Shortcut: i, l)
Copy issue ID
Previous Issue (Shortcut: k)
Next Issue (Shortcut: j)
Sign in to use full features.
Vote: I am impacted
Notification menu
Refresh (Shortcut: Shift+r)
Go home (Shortcut: u)
Pending code changes (auto-populated)
View issue level access limits(Press Alt + Right arrow for more information)
Unintended behavior
View staffing
Description
Run the following query in
```
WITH AllNames AS
(
SELECT DISTINCT name
FROM `bigquery-public-data.usa_names.usa_1910_2013`
),
HackerNewsAuthors AS
(
SELECT DISTINCT author
FROM `bigquery-public-data.hacker_news.comments`
)
SELECT * FROM AllNames
WHERE name NOT IN (SELECT author from HackerNewsAuthors)
```
What is the expected output? What do you see instead?
I expect to see approximately 30000 rows, but instead I get 0 rows.
What version of the product are you using? On what operating system?
I'm using
Please provide any additional information below.
The following query has more promising results (~30000 rows).
```
WITH AllNames AS
(
SELECT DISTINCT name
FROM `bigquery-public-data.usa_names.usa_1910_2013`
),
HackerNewsAuthors AS
(
SELECT DISTINCT author
FROM `bigquery-public-data.hacker_news.comments`
)
SELECT * FROM AllNames
WHERE name NOT IN (SELECT author from HackerNewsAuthors WHERE author <> 'supercalifragilisticexpialidocious')
```
The following query in Legacy SQL also has promising results (~30000 rows):
```
SELECT * FROM
(
SELECT name
FROM [bigquery-public-data:usa_names.usa_1910_2013]
GROUP BY name
)
WHERE
name NOT IN
(
SELECT author
FROM [bigquery-public-data:hacker_news.comments]
GROUP BY author
)
```
Note: the author column in bigquery-public-data:hacker_news.comments has null values
Job ID pandas-140401:bquijob_6b047e13_158a0d8b668
Creation Time Nov 26, 2016, 8:35:07 AM
Start Time Nov 26, 2016, 8:35:08 AM
End Time Nov 26, 2016, 8:35:11 AM
Bytes Processed 119 MB
Bytes Billed 120 MB
Billing Tier 1
Destination Table pandas-140401:_ed72b339b3c5a29a8fa0bcb848b39cb9daa256e4.anon64986255_1b2d_4626_a878_48b35668af3f
Use Legacy SQL false