aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/contrib/cloud
diff options
context:
space:
mode:
authorGravatar A. Unique TensorFlower <gardener@tensorflow.org>2018-01-26 05:14:47 -0800
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2018-01-26 05:19:04 -0800
commitc8c2e4932afccb594bfe05e22facea1aba9dd454 (patch)
tree5a78a1dd985c32c4924fc68cb2e48f5b639eb598 /tensorflow/contrib/cloud
parent7578785dff668c63ba6b5423a6bf2a5984c7b409 (diff)
Remove dead code
PiperOrigin-RevId: 183374040
Diffstat (limited to 'tensorflow/contrib/cloud')
-rw-r--r--tensorflow/contrib/cloud/kernels/bigquery_table_accessor.cc28
1 files changed, 0 insertions, 28 deletions
diff --git a/tensorflow/contrib/cloud/kernels/bigquery_table_accessor.cc b/tensorflow/contrib/cloud/kernels/bigquery_table_accessor.cc
index deb324634b..1bfd27305d 100644
--- a/tensorflow/contrib/cloud/kernels/bigquery_table_accessor.cc
+++ b/tensorflow/contrib/cloud/kernels/bigquery_table_accessor.cc
@@ -18,7 +18,6 @@ limitations under the License.
#include "tensorflow/core/lib/strings/numbers.h"
namespace tensorflow {
-
namespace {
constexpr size_t kBufferSize = 1024 * 1024; // In bytes.
@@ -40,33 +39,6 @@ Status ParseJson(StringPiece json, Json::Value* result) {
return Status::OK();
}
-string ColumnTypeToString(BigQueryTableAccessor::ColumnType enum_type) {
- switch (enum_type) {
- case BigQueryTableAccessor::ColumnType::kRecord:
- return "RECORD";
- case BigQueryTableAccessor::ColumnType::kString:
- return "STRING";
- case BigQueryTableAccessor::ColumnType::kBytes:
- return "BYTES";
- case BigQueryTableAccessor::ColumnType::kInteger:
- return "INTEGER";
- case BigQueryTableAccessor::ColumnType::kFloat:
- return "FLOAT";
- case BigQueryTableAccessor::ColumnType::kBoolean:
- return "BOOLEAN";
- case BigQueryTableAccessor::ColumnType::kTimestamp:
- return "TIMESTAMP";
- case BigQueryTableAccessor::ColumnType::kDate:
- return "DATE";
- case BigQueryTableAccessor::ColumnType::kTime:
- return "TIME";
- case BigQueryTableAccessor::ColumnType::kDatetime:
- return "DATETIME";
- case BigQueryTableAccessor::ColumnType::kNone:
- return "NONE";
- }
-}
-
Status ParseColumnType(const string& type,
BigQueryTableAccessor::ColumnType* enum_type) {
if (type == "RECORD") {