Posts

Monale

Image
Coordenadas: 44° 56' N 8° 4' E Monale      Comuna    Monale Localização de Monale na Itália Coordenadas 44° 56' N 8° 4' E Região Piemonte Província Asti Área  - Total 9 11 km² Altitude 200 m População  - Total 1 014 (31-10-2 017)     • Densidade 111,31 hab./km² Outros dados Comunas limítrofes Asti, Baldichieri d'Asti, Castellero, Cinaglio, Cortandone, Maretto, Villafranca d'Asti Código ISTAT 005067 Código postal 14013 Prefixo telefônico 0141 Sítio www.comune.monale.at.it Monale é uma comuna italiana da região do Piemonte, província de Asti, com cerca de 890 habitantes. Estende-se por uma área de 9 km², tendo uma densidade populacional de 99 hab/km². Faz fronteira com Asti, Baldichieri d'Asti, Castellero, Cinaglio, Cortandone, Maretto, Villafranca d'Asti. [ 1 ] [ 2 ] [ 3 ] Demografia | Variação demográfica do munic...

Dataflow/apache beam - how to access current filename when passing in pattern?

Image
5 0 I have seen this question answered before on stack overflow (https://stackoverflow.com/questions/29983621/how-to-get-filename-when-using-file-pattern-match-in-google-cloud-dataflow), but not since apache beam has added splittable dofn functionality for python. How would I access the filename of the current file being processed when passing in a file pattern to a gcs bucket? I want to pass the filename into my transform function: with beam.Pipeline(options=pipeline_options) as p: lines = p | ReadFromText('gs://url to file') data = ( lines | 'Jsonify' >> beam.Map(jso...