![Thumbnail of post image 111](https://snowsystem.net/wp-content/uploads/2024/07/gcp-bigquery-partition-table-320x180.png)
BigQueryのパーティション分割テーブルのパーティション数が4000から10000にアップデートしました(2024-05-29)
2024年5月29日、BigQueryのパーティション分割テーブルのパーティション数が4000から10000にアップデートされました。 BigQueryで時系列データ分析を行う際、多くのユーザーがパーティション分割テーブルを利用してきました ...
![Thumbnail of post image 050](https://snowsystem.net/wp-content/uploads/2024/02/excel-vs-google-spreadsheet-320x180.png)
[脱Excel]Googleスプレッドシートで「できないこと」「不得意なこと」「できること」まとめ
ExcelからGoogleスプレッドシートを検討し、利用開始から1ヶ月で不便に感じることが多く、AI(ChatGPTやPhind)にGoogleスプレッドシートでできないことを質問しても自分が感じているものと違ったので、気づいた点をまとめて ...
![Thumbnail of post image 028](https://snowsystem.net/wp-content/uploads/2021/06/redshift-table-view-owner-320x180.png)
Redshift の Table および View の所有者(owner)の確認方法と変更方法
Redshift のテーブルやビューの所有者を調べる方法がわからないRedshift のテーブルやビューの所有者を変更する方法がわからない この記事では AWS Redshift のカタログテーブルを用いたテーブルやビューの所有者の確認方法 ...
![Thumbnail of post image 168](https://snowsystem.net/wp-content/uploads/2021/02/google-driver-default-path-change-320x180.png)
Google ドライブ のデフォルトの同期フォルダ名「Google ドライブ」を変更する方法
Googleドライブを初期設定でインストールしたら「c:\Users\Google ドライブ」になってしまった2つ目のアカウントを追加すると「Google ドライブ (xxxxx@gmail.com)」というメールアドレスのフォルダ名にって ...
![Thumbnail of post image 111](https://snowsystem.net/wp-content/uploads/2020/12/git-github-pr-conflict-320x180.png)
GitHubのプルリクエスト(Pull Request)でコンフリクト(Conflict)が発生した場合の解決方法 ~merge編~
GitHubでプルリクエスト(Pull Request)を発行したがコンフリクト(conflict)が発生した場合に、コンフリクトを解消するまで「Merge Pull Request」ボタンが非活性でマージが出来ません。 GitHubのPu ...
![Thumbnail of post image 163](https://snowsystem.net/wp-content/uploads/2020/12/github-cli-install-320x180.png)
GitHub CLI (gh)のインストール方法とコマンド(repo/pr)の使い方
GitHub公式のGitHub CLIツールghのインストール方法とコマンドの使い方をまとめました。 GitHub CLIを利用するとリポジトリの作成やプルリクエストを発行をブラウザではなくターミナルから実行できます。 シェルなどにも組み込 ...
![Thumbnail of post image 162](https://snowsystem.net/wp-content/uploads/2020/12/github-actions-react-firebase-320x180.png)
GitHub ActionsでCI/CD環境を構築する ~ReactアプリをFirebaseへデプロイするyamlファイルの書き方~
CI/CD環境はこれまでCircleCIを利用してきたのですが、Reactのversion17でcreate-react-appしたプロジェクトをCircleCIでbuildすると以下のエラーが発生するようになりました。 The build ...
![Thumbnail of post image 062](https://snowsystem.net/wp-content/uploads/2020/11/circleci-error-working-directory-320x180.png)
circleciで「error Couldn’t find a package.json file in “xxx/xxx”」が発生した場合の原因と対処方法
circleciでビルド中に以下のようなエラーが発生した場合の原因と対処方法についてまとめました。 #!/bin/bash -eo pipefail yarn build yarn run v1.22.4 error Couldn't fi ...
![Thumbnail of post image 109](https://snowsystem.net/wp-content/uploads/2020/11/firebase-no-localhost-320x180.png)
firebase loginで「localhost で接続が拒否されました。」でアクセスできない場合の対処方法
firebase loginで表示されるエラー firebase でloginする際やtoken文字列を取得する際に以下のコマンドを実行します。 firebase login や firebase login:ci URLが表示され、 Vi ...
![Thumbnail of post image 020](https://snowsystem.net/wp-content/uploads/2020/07/circleci-firebase-deploy-320x180.png)
circleciでgithubのブランチ毎にfirebaseへのデプロイ先を切り替える方法
Firebaseに複数の環境(本番環境と開発環境など)とGitHubのブランチと関連付け、circleciを利用してビルド・テスト・デプロイを自動化する方法をまとめました。 環境(Firebase/circleci/GitHub) Fire ...
![Thumbnail of post image 186](https://snowsystem.net/wp-content/uploads/2020/06/firebase-functions-node8-320x180.png)
Firebase functions Node.js 8のサポートを終了しました。エラーが発生。。。
Firebaseのfunctinosで作成したNode.js8のWebAPIを呼び出すとエラーメッセージが表示されるので、調べてみました。 Billing account not configured. External network i ...
![Thumbnail of post image 045](https://snowsystem.net/wp-content/uploads/2020/06/circleci-error-1-320x180.png)
CircleCIのconfig.ymlのエラー対処方法 mapping values are not allowed here This configuration was auto-generated to show you the message above. Config Processing Error (Don’t rerun)
CircleCIでconfig.ymlが原因でジョブがエラーになる CircleCIを利用していると、ジョブが「Config Processing Error (Don't rerun)」でエラーになることがあります。 例えばこんなエラーな ...
![Thumbnail of post image 070](https://snowsystem.net/wp-content/uploads/2020/06/line-chat-bot-320x180.png)
「リッチメニュー」と「クイックリプライ」を利用した無料でできるLINEチャットボットアプリの作り方 (node.js + Heroku)
今回はクラウド環境Herokuを利用して無料でLINEチャットボットを作成してみました。 メッセージをそのまま返すサンプルはよくあるので、もう少し処理を加えて小学生低学年レベルの計算問題をやりとりするLINEチャットボット「バーチャル先生」 ...
![Thumbnail of post image 053](https://snowsystem.net/wp-content/uploads/2020/06/firebase-error-1-320x180.png)
Error fetching Firestore indexesのエラー原因と対応方法
firebaseの開発環境構築をする場合に「firebase init」コマンドで設定を行っていると、次のエラーが出る場合があります。 原因と対応方法について解説します。 Error: Error fetching Firestore in ...
![Thumbnail of post image 108](https://snowsystem.net/wp-content/uploads/2020/04/gcp-bigquery-backup-320x180.png)
BigQueryのバックアップ機能(スナップショット デコレータ)を利用する方法
スナップショット デコレータ(snapshot decorators)はBigQueryの標準機能として自動で取得されるバックアップ機能です。 BigQueryのバックアップとして簡単に利用できる良い機能なのですが、注意 ...
![Thumbnail of post image 129](https://snowsystem.net/wp-content/uploads/2020/02/gcp-bigquery-truncate-320x180.png)
BigQueryでTruncate Tableする方法
BigQueryでTruncate Table文を実行したことはありますか? 実行して「あれっ?構文エラーになる・・・」と困った方も多いかと思います。 BigQueryに限らずデータベースを利用していれば、テーブルのデータを全件削除したいタ ...
![Thumbnail of post image 186](https://snowsystem.net/wp-content/uploads/2020/02/gcp-bigquery-sql-sample-320x180.png)
BigQuery SQLサンプル - 1時間毎のレコード作成
やりたいこと 1日分の1時間毎のレコードを動的に作成したい 例えば、こんなデータです。 日時2020-02-21T00:00:002020-02-21T01:00:002020-02-21T02:00:00 :2020-02-21T2 ...
![Thumbnail of post image 143](https://snowsystem.net/wp-content/uploads/2020/02/gcp-bigquery-sql-sample-320x180.png)
BigQuery SQLサンプル - ユーザ定義関数で月初と月末を取得する関数を作成する
BigQueryのユーザ定義関数とは SQLに直接記載すると複雑になったり、何度も繰り返し処理するような場合にSQLを関数化することができます。 BigQueryではユーザ定義関数といいます。 ユーザが作成する関数だからそのままの名称ですね ...
![Thumbnail of post image 008](https://snowsystem.net/wp-content/uploads/2020/02/gcp-bigquery-sql-sample-320x180.png)
BigQuery SQLサンプル - 1ヶ月分の日付レコード作成
やりたいこと 2020年1月の日付レコードを動的に作成したい 月次帳票表示用のデータを作成する際などに、1ヶ月分の日付レコードが必要になることがよくありますよね。 例えば、こんなデータです。 日付2020-01-012020-01-0220 ...
![Thumbnail of post image 108](https://snowsystem.net/wp-content/uploads/2020/02/gcp-bigquery-sql-sample-320x180.png)
BigQuery SQLサンプル - 相関クロス結合
相関クロス結合とは 相関クロス結合の前にクロス結合(直積ともいいます)についてお復習いしておきましょう。 クロス結合(直積) クロス結合は全ての組み合わせでテーブルを結合する方法です。 例えば、以下のような2つのテーブルをクロス結合した場合 ...