Project: Beam (App Definition and Development / Streaming & Messaging)
File: beam-2.18.0.md

title: "Apache Beam 2.18.0" date: 2020-01-23 00:00:01 -0800 categories: blog release aliases: /blog/2020/01/13/beam-2.18.0.html authors: udim altay <!-- Licensed 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. --> We are happy to present the new 2.18.0 release of Beam. This release includes both improvements and new functionality. See the for this release.<!--more--> For more information on changes in 2.18.0, check out the . - Create a new Spark runner based on Spark Structured streaming framework - Added SqsIO v2 support. - RabbitMqIO: Allow reads from exchange-bound queue without declaring the exchange. - Fix CSVSink example in FileIO docs - Added support DoFns with Keyword-only arguments in Python 3. - Improved support for lazy iterables in schemas (Java). AND - Added metrics supports to portable runners. Various improvements to Interactive Beam: , , , . - Optionally set artifact staging port in FlinkUberJarJobServer. - Override returned artifact staging endpoint - , , . - [SQL] Add support for MongoDB source. - Add pipeline option to control truncate of BigQuery data processed by Beam SQL. - --no_auth flag changed to boolean type. AND Add workerregion and workerzone options. Deprecated --zone flag and --worker_region experiment argument. - com.amazonaws:amazon-kinesis-client updated to 1.13.0. - Upgrade Hadoop dependencies to version 2.8. - Python datastore v1new fails on retry. - ParDo function wrapper doesn't support Iterable output types. - SchemaCoder/RowCoder have no equals() function. - UnboundedRabbitMqReader can fail to advance watermark if no new data comes in. - Reading records in background may lead to OOM errors - Explicitly set restriction coder for bounded reader wrapper SDF. - Ensure that ValueProvider types have equals/hashCode implemented for comparison reasons. - Strip UTF-8 BOM bytes (if present) in TextSource. - Not doing Combiner lifting for data-driven triggers. - BundleBasedRunner Stacked Bundles don't respect

- Data channel should to avoid unlimited buffering in Python SDK. - Timestamp combiner not respected across bundles in streaming mode. - Default behaviour for Python BQ Streaming inserts sink should be to retry always. - OOM when writing large numbers of 'narrow' rows. - Artifact retrieval fails with FlinkUberJarJobServer - ExternalTransform is not providing a unique name - Python MongoDBIO TypeError when splitting. - SchemaCoder equals should not rely on from/toRowFunction equality. - AvroUtils.schemaCoder(schema) produces a not serializable SchemaCoder. - Spark runner accumulates metrics (incorrectly) between runs. - Add .parquet extension to files in ParquetIO. Various bug fixes and performance improvements. - Python: `beam.Create` no longer preserves order unless `reshuffle=False` is passed in as an argument. You may encounter this issue when using DirectRunner. - Spark runner accumulates metrics (incorrectly) between runs - HadoopResourceId returns wrong directory name See a full list of open this version. - If you are using Avro 1.9.x with Beam you should not upgrade to this version. There is an issue with timestamp conversions. A fix will be available in the next release. According to git shortlog, the following people contributed to the 2.18.0 release. Thank you to all contributors! Ahmet Altay, Aizhamal Nurmamat kyzy, Alan Myrvold, Alexey Romanenko, Alex Van Boxel, Andre Araujo, Andrew Crites, Andrew Pilloud, Aryan Naraghi, Boyuan Zhang, Brian Hulette, bumblebee-coming, Cerny Ondrej, Chad Dombrova, Chamikara Jayalath, Changming Ma, Chun Yang, cmachgodaddy, Colm O hEigeartaigh, Craig Chambers, Daniel Oliveira, Daniel Robert, David Cavazos, David Moravek, David Song, dependabot[bot], Derek, Dmytro Sadovnychyi, Elliotte Rusty Harold, Etienne Chauchot, Hai Lu, Henry Suryawirawan, Ismal Meja, Jack Whelpton, Jan Lukavsk, Jean-Baptiste Onofr, Jeff Klukas, Jincheng Sun, Jing, Jing Chen, Joe Tsai, Jonathan Alvarez-Gutierrez, Kamil Wasilewski, KangZhiDong, Kasia Kucharczyk, Kenneth Knowles, kirillkozlov, Kirill Kozlov, Kyle Weaver, liumomo315, lostluck, ukasz Gajowy, Luke Cwik, Mark Liu, Maximilian Michels, Michal Walenia, Mikhail Gryzykhin, Niel Markwick, Ning Kang, nlofeudo, pabloem, Pablo Estrada, Pankaj Gudlani, Piotr Szczepanik, Primevenn, Reuven Lax, Robert Bradshaw, Robert Burke, Rui Wang, Ruoyun Huang, RusOr10n, Ryan Skraba, Saikat Maitra, sambvfx, Sam Rohde, Samuel Husso, Stefano, Steve Koonce, Steve Niemitz, sunjincheng121, Thomas Weise, Tianyang Hu, Tim Robertson, Tomo Suzuki, tvalentyn, Udi Meiri, Valentyn Tymofieiev, Viola Lyu, Wenjia Liu, Yichi Zhang, Yifan Zou, yoshiki.obata, Yueyang Qiu, ziel,