Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 799F4200BEB for ; Wed, 23 Nov 2016 02:05:00 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 78428160B0C; Wed, 23 Nov 2016 01:05:00 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id EEA00160B1C for ; Wed, 23 Nov 2016 02:04:59 +0100 (CET) Received: (qmail 32916 invoked by uid 500); 23 Nov 2016 01:04:58 -0000 Mailing-List: contact dev-help@phoenix.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@phoenix.apache.org Delivered-To: mailing list dev@phoenix.apache.org Received: (qmail 32897 invoked by uid 99); 23 Nov 2016 01:04:58 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Nov 2016 01:04:58 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 625532C4C70 for ; Wed, 23 Nov 2016 01:04:58 +0000 (UTC) Date: Wed, 23 Nov 2016 01:04:58 +0000 (UTC) From: "Thomas D'Silva (JIRA)" To: dev@phoenix.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Assigned] (PHOENIX-3442) Support null when columns have default values for immutable tables with encoding scheme COLUMNS_STORED_IN_SINGLE_CELL MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 23 Nov 2016 01:05:00 -0000 [ https://issues.apache.org/jira/browse/PHOENIX-3442?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Thomas D'Silva reassigned PHOENIX-3442: --------------------------------------- Assignee: Thomas D'Silva > Support null when columns have default values for immutable tables with encoding scheme COLUMNS_STORED_IN_SINGLE_CELL > ---------------------------------------------------------------------------------------------------------------------- > > Key: PHOENIX-3442 > URL: https://issues.apache.org/jira/browse/PHOENIX-3442 > Project: Phoenix > Issue Type: Sub-task > Reporter: Samarth Jain > Assignee: Thomas D'Silva > > Comments from [~jamestaylor]: > The way we differentiate a null value now is by the value being an empty byte array (explicitly set to null) versus not being present (in which case we use the default value). > This is encapsulated in the DefaultValueExpression. > We'll need to tweak our encoding for this. > One way would be to use a negative number for the offset. -- This message was sent by Atlassian JIRA (v6.3.4#6332)