Skip to content

Instantly share code, notes, and snippets.

bq load --source_format=AVRO --use_avro_logical_types --project_id [project_id] course_dataset.sample_employee "gs://biquery_sample_data/load_data_into_bigquery_3/sample_employee_06.avro"

BigQuery Course : Resource & Reference

This page is Resource & Reference for BigQuery course.

Table of Contents

Contents are grouped based on lecture title.
The order of contents is same as order at course, although not all lectures has resource.

API Security

SQL Injection

Fix for stored procedure
CREATE OR REPLACE PROCEDURE public.update_jdbc_customer(
  existing_customer_id bigint,
  new_full_name character varying)
LANGUAGE 'plpgsql'
export function calculateMonthlyInstallment(loanAmount, tenureInMonths, annualInterestRate) {
let monthlyInterestRate = annualInterestRate / 12 / 100;
let monthlyPayment = loanAmount * monthlyInterestRate / (1 - Math.pow(1 + monthlyInterestRate, -tenureInMonths));
return Math.round(monthlyPayment * 100) / 100;
}