gcpug / hake Goto Github PK
View Code? Open in Web Editor NEWSpanner Generic Column Value Utility
License: MIT License
Spanner Generic Column Value Utility
License: MIT License
データが空の場合、スキーマを判断する材料が取得することができず、panicする
header=trueの場合、Writerとしては一度だけheaderを出力し、2回目以降は出力しないようにする
Line 39 in fbb3ad1
[]*JSONRow
で各Row毎に別々のJSONSchemaが出てくると困るのでなんかいい感じの気持ちになるやつがほしい。
任意のクエリの結果をCSV出力したい。
Lines 114 to 116 in d268087
JSONに 72057596404714278
みたいなデータが含まれているとJavaScriptで評価した時に 72057596404714270
になってしまい数値が正しくなくなってしまう。
https://github.com/go-avro/avro を使えば良さそう
Spannerでは以下のクエリはValidである
SELECT T1.Id, T2.Id FROM (SELECT Id From Tweet ORDER BY Id Limit 100) T1 JOIN (SELECT Id From Tweet ORDER By Id Limit 100) T2 ON T1.Id = T2.Id
結果としては、SELECTで指定した順番で表示される
しかし、hakeを利用すると、 spanner: code = "FailedPrecondition", desc = "ambiguous column name \"hoge\""
になるケースが存在する
おそらく、Jsonに変換するところで、JsonのKeyがぶつかってしまっている。
今master/HEADで go test ./...
するとテストコケる気がします。
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.