In Progress
Status Update
Comments
[Deleted User] <[Deleted User]> #2
Can't COUNT_DISTINCT() over a specific date range!!! This appears to be a common problem! Please fix ASAP!
sa...@google.com <sa...@google.com> #3
Instead of counting unique values in a specified column COUNT_DISCTINCT counts rows in a database (on a view, not a table, to be more specific)... It works as expected with spreadsheets.
Description
information in the report you file. In order to help diagnose the issue,
we've included some installation information in this report. Please look
through and redact any information you consider personal or sensitive
before submitting this issue.
Issue running command [gcloud functions deploy].
What steps will reproduce the problem?
What is the expected output? What do you see instead?
Please provide any additional information below.
> mkdir hoge
> cd hoge
> cat <<EOF > main.py
def hoge(request):
return 'hoge!'
EOF
> touch copy.py
> gcloud functions deploy hoge --runtime=python37 --trigger-http
Deploying function (may take a while - up to 2 minutes)...failed.
ERROR: (gcloud.functions.deploy) OperationError: code=3, message=Function load error: Error: cannot communicate with function.
Installation information:
Google Cloud SDK [218.0.0]
Platform: [Mac OS X, x86_64] ('Darwin', 'kai1.local', '17.7.0', 'Darwin Kernel Version 17.7.0: Thu Jun 21 22:53:14 PDT 2018; root:xnu-4570.71.2~1/RELEASE_X86_64', 'x86_64', 'i386')
Python Version: [2.7.10 (default, Oct 6 2017, 22:29:07) [GCC 4.2.1 Compatible Apple LLVM 9.0.0 (clang-900.0.31)]]
Python Location: [/System/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python]
Site Packages: [Disabled]
Installation Root: [${SDK_ROOT}]
Installed Components:
core: [2018.09.24]
container-builder-local: []
kubectl: [2018.09.17]
cloud-build-local: []
docker-credential-gcr: []
beta: [2018.07.16]
gsutil: [4.34]
bq: [2.0.34]
alpha: [2018.09.04]
System PATH: [${HOME}/.anyenv/envs/ndenv/shims:${HOME}/.anyenv/envs/pyenv/shims:${HOME}/.anyenv/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/share/dotnet:/Library/Frameworks/Mono.framework/Versions/Current/Commands:${HOME}/.anyenv/envs/pyenv/bin:${HOME}/.anyenv/envs/ndenv/bin:${HOME}/.anyenv/envs/rbenv/bin]
Python PATH: [${SDK_ROOT}/lib/third_party:${SDK_ROOT}/lib:/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python27.zip:/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/:/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-darwin:/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac:/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac/lib-scriptpackages:/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-tk:/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-old:/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload]
Cloud SDK on PATH: [False]
Kubectl on PATH: [/usr/local/bin/kubectl]
WARNING: There are old versions of the Google Cloud Platform tools on your system PATH.
/Applications/Docker.app/Contents/Resources/bin/kubectl
Installation Properties: [${SDK_ROOT}/properties]
User Config Directory: [${CLOUDSDK_CONFIG}]
Active Configuration Name: [gcp-ml-test]
Active Configuration Path: [${CLOUDSDK_CONFIG}/configurations/config_gcp-ml-test]
Account: [k..i@a..m]
Project: [a..9]
Current Properties:
[core]
project: [a..9]
account: [k..i@a..m]
disable_usage_reporting: [True]
[compute]
region: [asia-northeast1]
zone: [asia-northeast1-a]
Logs Directory: [${CLOUDSDK_CONFIG}/logs]
Last Log File: [${CLOUDSDK_CONFIG}/logs/2018.10.04/13.44.42.813267.log]
git: [git version 2.17.1 (Apple Git-112)]
ssh: [OpenSSH_7.6p1, LibreSSL 2.6.2]