title: BigQuery StandardSQL udf to call external .jar libraries
body: <p>How do i call external java libraries in the bigquery UDF. Is it possible?</p>
  
  <p>Following is my use case:
  Is it possible to do the lat/long calculations inside standard sql bigquery UDF.</p>
  
  <pre><code>import org.gavaghan.geodesy.*;
  
  ...
  
  GeodeticCalculator geoCalc = new GeodeticCalculator();
  
  Ellipsoid reference = Ellipsoid.WGS84;  
  
  GlobalPosition pointA = new GlobalPosition(latitude, longitude, 0.0); // Point A
  
  GlobalPosition userPos = new GlobalPosition(userLat, userLon, 0.0); // Point B
  
  double distance = geoCalc.calculateGeodeticCurve(reference, userPos, pointA).getEllipsoidalDistance(); 
  </code></pre>