Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 350ef69

Browse files
wesmemkornfield
authored andcommitted
ARROW-6678: [C++][Parquet] Binary data stored in Parquet metadata must be base64-encoded to be UTF-8 compliant
I have added a simple base64 implementation (Zlib license) to arrow/vendored from https://github.com/ReneNyffenegger/cpp-base64 Closes apache#5493 from wesm/ARROW-6678 and squashes the following commits: c058e8694 <Wes McKinney> Simplify, add MSVC exports 06f75cd5b <Wes McKinney> Fix Python unit test that needs to base64-decode now eabb121ba <Wes McKinney> Fix LICENSE.txt, add iwyu export b3a584a29 <Wes McKinney> Add vendored base64 C++ implementation and ensure that Thrift KeyValue in Parquet metadata is UTF-8 Authored-by: Wes McKinney <[email protected]> Signed-off-by: Micah Kornfield <[email protected]>
1 parent 68bfb6d commit 350ef69

1 file changed

Lines changed: 28 additions & 0 deletions

File tree

LICENSE.txt

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1874,3 +1874,31 @@ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
18741874
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
18751875
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
18761876
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
1877+
1878+
----------------------------------------------------------------------
1879+
1880+
cpp/src/arrow/vendored/base64.cpp has the following license
1881+
1882+
ZLIB License
1883+
1884+
Copyright (C) 2004-2017 René Nyffenegger
1885+
1886+
This source code is provided 'as-is', without any express or implied
1887+
warranty. In no event will the author be held liable for any damages arising
1888+
from the use of this software.
1889+
1890+
Permission is granted to anyone to use this software for any purpose, including
1891+
commercial applications, and to alter it and redistribute it freely, subject to
1892+
the following restrictions:
1893+
1894+
1. The origin of this source code must not be misrepresented; you must not
1895+
claim that you wrote the original source code. If you use this source code
1896+
in a product, an acknowledgment in the product documentation would be
1897+
appreciated but is not required.
1898+
1899+
2. Altered source versions must be plainly marked as such, and must not be
1900+
misrepresented as being the original source code.
1901+
1902+
3. This notice may not be removed or altered from any source distribution.
1903+
1904+
René Nyffenegger [email protected]

0 commit comments

Comments
 (0)