[ 
https://issues.apache.org/jira/browse/BEAM-7362?focusedWorklogId=246025&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-246025
 ]

ASF GitHub Bot logged work on BEAM-7362:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 21/May/19 13:07
            Start Date: 21/May/19 13:07
    Worklog Time Spent: 10m 
      Work Description: kkucharc commented on pull request #8626: [BEAM-7362] 
BigQuery IO performance tests
URL: https://github.com/apache/beam/pull/8626#discussion_r285999949
 
 

 ##########
 File path: sdks/python/apache_beam/io/gcp/bigquery_io_read_it_test.py
 ##########
 @@ -1,63 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements.  See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License.  You may obtain a copy of the License at
-#
-#    http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-
-"""A Dataflow job that counts the number of rows in a BQ table.
-
-   Can be configured to simulate slow reading for a given number of rows.
-"""
-
-from __future__ import absolute_import
-
-import logging
-import unittest
-
-from hamcrest.core.core.allof import all_of
-from nose.plugins.attrib import attr
-
-from apache_beam.io.gcp import bigquery_io_read_pipeline
-from apache_beam.testing.pipeline_verifiers import PipelineStateMatcher
-from apache_beam.testing.test_pipeline import TestPipeline
-
-
-class BigqueryIOReadIT(unittest.TestCase):
-
-  DEFAULT_DATASET = "big_query_import_export"
-  DEFAULT_TABLE_PREFIX = "export_"
-  NUM_RECORDS = {"empty": 0,
-                 "1M": 10592,
-                 "1G": 11110839,
-                 "1T": 11110839000,}
-
-  def run_bigquery_io_read_pipeline(self, input_size):
-    test_pipeline = TestPipeline(is_integration_test=True)
-    pipeline_verifiers = [PipelineStateMatcher(),]
-    extra_opts = {'input_table': self.DEFAULT_DATASET + "." +
-                                 self.DEFAULT_TABLE_PREFIX + input_size,
-                  'num_records': self.NUM_RECORDS[input_size],
-                  'on_success_matcher': all_of(*pipeline_verifiers)}
-    bigquery_io_read_pipeline.run(test_pipeline.get_full_options_as_args(
-        **extra_opts))
-
-  @attr('IT')
 
 Review comment:
   Hmmm... as I can see, did whole IT test just vanished?
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


Issue Time Tracking
-------------------

    Worklog Id:     (was: 246025)
    Time Spent: 1h 20m  (was: 1h 10m)

> Add a performance test for BigQueryIO write
> -------------------------------------------
>
>                 Key: BEAM-7362
>                 URL: https://issues.apache.org/jira/browse/BEAM-7362
>             Project: Beam
>          Issue Type: Test
>          Components: testing
>            Reporter: Kamil Wasilewski
>            Assignee: Kamil Wasilewski
>            Priority: Major
>          Time Spent: 1h 20m
>  Remaining Estimate: 0h
>
> There is already one test which covers BigQueryIO read in Python SDK, but 
> there are no tests for BigQueryIO write.
> My plan is:
> 1) Use SyntheticSource to generate input data. Data size can be configure by 
> command line arguments.
> 2) Write data to BQ dataset and measure throughput.
>  
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to