-
description: monitor the AWS RDBMS schema change
-
create new column to
Summary
orDetail
:- add
COL
into google sheet (fill default value it can decrease amount of updating time) - orginzie sql in
Summary
orDetail
func.(fetch table schema frominforamtion_schema
table) col = a.columns[:NUM]
incheck_cell
func -> NUM+=1
- add
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
ss |
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
|
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
LS_COLORS=$LS_COLORS:'di=0;35:' ; export LS_COLORS; ls | |
export LS_OPTIONS='--color=auto' | |
#eval "$(dircolors -b)" | |
alias ls='ls $LS_OPTIONS' | |
# tmux |
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
setpup: | |
~/.vimrc | |
set mouse=a | |
watch tail logfile1 logfile2 | |
shortcut : tmux a -t #num |
In this gist I would like to describe an idea for GraphQL subscriptions. It was inspired by conversations about subscriptions in the GraphQL slack channel and different GH issues, like #89 and #411.
At the moment GraphQL allows 2 types of queries:
query
mutation
Reference implementation also adds the third type: subscription
. It does not have any semantics yet, so here I would like to propose one possible semantics interpretation and the reasoning behind it.
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
val output = ds.groupByKey(_.`pickup zone`).mapGroupsWithState[State,Result](GroupStateTimeout.NoTimeout()){ | |
case (key:String,values:Iterator[order],state: GroupState[State]) => { | |
val data = values.toSeq | |
println(data) | |
val size = data.size | |
print() | |
val updateState = if(state.exists) { |
Array
- * 27 Remove Element 视频讲解
- * 26 Remove Duplicates from Sorted Array 视频讲解 L1:match condition | L2
- ? 80 Remove Duplicates from Sorted Array II 视频讲解
- 277 Find the Celebrity 视频讲解
- * 189 Rotate Array 视频讲解
- * 41 First Missing Positive 视频讲解
- *? 299 Bulls and Cows 视频讲解
- 134 Gas Station 视频讲解
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
def main(args: Array[String]): Unit = { | |
val ss = SparkSession.builder().master("local[*]").appName("app1").getOrCreate() | |
import ss.implicits._ | |
val filePath = "src/resource" | |
val schema = Encoders.product[order].schema | |
val ds = ss.readStream.option("header","true").schema(schema).csv(filePath) | |
val ds1 = ds.select( lit("1") as "key",to_json(struct("*"))as "value") |
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
if __name__ == "__main__": |
NewerOlder