- Asynchronous
- Backpressured
- incremental
- potentially infinite data processing systems
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Solution162 { | |
/** | |
* https://leetcode.com/problems/find-peak-element/ | |
*/ | |
public int findPeakElement(int[] nums) { | |
return search(nums, 0, nums.length - 1); | |
} | |
public int search(int[] nums, int l, int r) { | |
if (l == r) | |
return l; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ZSH_THEME="agnoster" | |
DEFAULT_USER=`whoami` | |
ENABLE_CORRECTION="true" | |
COMPLETION_WAITING_DOTS="true" | |
plugins=(git python brew osx gradle) | |
source $ZSH/oh-my-zsh.sh | |
ZSH_THEME="gnoster" | |
# common aliases | |
alias zshconfig="mate ~/.zshrc" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.util.ArrayList; | |
import java.util.List; | |
class Test { | |
static class ListNode { | |
int data; | |
ListNode next; | |
public ListNode(int data) { | |
this.data = data; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CREATE TYPE valueType AS ENUM ('Integer', 'Float', 'Long', "String", "Options", "Scale", "Boolean" ); | |
CREATE Type locationType As ENUM ('Registration', 'Healthcoach'); | |
create TABLE Question | |
( | |
id SERIAL, | |
sectionId integer, | |
title varying(1000), |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
WIFI:T:WPA;S:NETGEAR68-GB;P:quickboat901;; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import com.box.data.platform.model.Env | |
import com.google.cloud.spark.bigquery.repackaged.com.google.cloud.bigquery.{Field, JobInfo, Schema, StandardSQLTypeName, TableDefinition, TableId, TimePartitioning} | |
import com.box.data.platform.model.bigquery.ingestion.BigQueryTableId | |
import com.box.data.platform.model.spark._ | |
import com.box.data.platform.model.spark.ProxyConfig | |
import com.box.dataplatform.spark.context.internal.bigquery.BigQueryWriterImpl.{DS, HOUR, STRINGTYPE, UNIX_EPOCH_MICROSECONDS, UNIX_EPOCH_MILLISECONDS, UNIX_EPOCH_SECONDS} | |
import com.box.dataplatform.spark.context.internal.vault.{MigrationCredentialsProvider, MigrationCredentialsProviderFactory} | |
import org.apache.hadoop.conf.Configuration | |
import org.apache.spark.SparkContext | |
import org.apache.spark.sql.{DataFrame, SaveMode, SparkSession} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
+--------------------------------------------------------------------------------------------------------------------+------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+------------------------+------------------------------------------------------+------------------------------------------------------+------------------------------------+---------------+------------------------------------+------------------------------------+ | |
|actorUser |
--- com.google.cloud.spark:spark-2.4-bigquery:0.23.2-preview --- com.google.cloud.spark:spark-bigquery-connector-common:0.23.2 +--- com.google.cloud.spark:bigquery-connector-common:0.23.2 | +--- com.google.api.grpc:grpc-google-cloud-bigquerystorage-v1:2.4.2 | | +--- io.grpc:grpc-api:1.41.0 -> 1.42.1 | | | +--- io.grpc:grpc-context:1.42.1 | | | +--- com.google.code.findbugs:jsr305:3.0.2 | | | +--- com.google.guava:guava:30.1-android -> 31.0.1-jre | | | | +--- com.google.guava:failureaccess:1.0.1 | | | | +--- com.google.guava:listenablefuture:9999.0-empty-to-avoid-conflict-with-guava
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\--- com.google.cloud.spark:spark-2.4-bigquery:0.23.2-preview | |
\--- com.google.cloud.spark:spark-bigquery-connector-common:0.23.2 | |
+--- com.google.cloud.spark:bigquery-connector-common:0.23.2 | |
| +--- com.google.api.grpc:grpc-google-cloud-bigquerystorage-v1:2.4.2 | |
| | +--- io.grpc:grpc-api:1.41.0 -> 1.42.1 | |
| | | +--- io.grpc:grpc-context:1.42.1 | |
| | | +--- com.google.code.findbugs:jsr305:3.0.2 | |
| | | +--- com.google.guava:guava:30.1-android -> 31.0.1-jre | |
| | | | +--- com.google.guava:failureaccess:1.0.1 | |
| | | | +--- com.google.guava:listenablefuture:9999.0-empty-to-avoid-conflict-with-guava |
OlderNewer