Skip to content

Latest commit

 

History

History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

BigQuery Sample

A sample demonstrating how to invoke BigQuery from C#.

Links

Build and Run

  1. Follow the instructions in the root README.

  2. Enable APIs for your project. Click here to visit Cloud Platform Console and enable the BigQuery API.

  3. Open GettingStarted/BigquerySample.sln with Microsoft Visual Studio version 2012 or later.

  4. Build the Solution.

  5. Run it from the command line with your project id:

    PS C:\...\GettingStarted\bin\Debug> .\BigquerySample.exe YOUR-PROJECT-ID Query Results: ------------ hamlet: 5318 kinghenryv: 5104 cymbeline: 4875 troilusandcressida: 4795 kinglear: 4784 kingrichardiii: 4713 2kinghenryvi: 4683 coriolanus: 4653 2kinghenryiv: 4605 antonyandcleopatra: 4582 1kinghenryvi: 4441 winterstale: 4404 1kinghenryiv: 4317 othello: 4284 kinghenryviii: 4236 loveslabourslost: 4236 romeoandjuliet: 4230 kingrichardii: 4200 3kinghenryvi: 4076 kingjohn: 4024 rapeoflucrece: 3960 allswellthatendswell: 3949 titusandronicus: 3869 macbeth: 3833 timonofathens: 3795 measureforemeasure: 3786 periclesprinceoftyre: 3754 tamingoftheshrew: 3699 merchantofvenice: 3677 sonnets: 3677 asyoulikeit: 3676 merrywivesofwindsor: 3653 tempest: 3636 twelfthnight: 3534 midsummersnightsdream: 3406 muchadoaboutnothing: 3369 juliuscaesar: 3361 twogentlemenofverona: 3122 venusandadonis: 2926 comedyoferrors: 2870 various: 1349 loverscomplaint: 1195 Press any key...

Contributing changes

Licensing

close