From dev-return-13587-archive-asf-public=cust-asf.ponee.io@calcite.apache.org Tue Oct 8 01:57:21 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id AC3AA1804BB for ; Tue, 8 Oct 2019 03:57:20 +0200 (CEST) Received: (qmail 82734 invoked by uid 500); 8 Oct 2019 01:57:19 -0000 Mailing-List: contact dev-help@calcite.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@calcite.apache.org Delivered-To: mailing list dev@calcite.apache.org Received: (qmail 82718 invoked by uid 99); 8 Oct 2019 01:57:18 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Oct 2019 01:57:18 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 46770C1AB1 for ; Tue, 8 Oct 2019 01:57:18 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.802 X-Spam-Level: * X-Spam-Status: No, score=1.802 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-ec2-va.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id Ice8isUgASQQ for ; Tue, 8 Oct 2019 01:57:14 +0000 (UTC) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.210.48; helo=mail-ot1-f48.google.com; envelope-from=yuzhao.cyz@gmail.com; receiver= Received: from mail-ot1-f48.google.com (mail-ot1-f48.google.com [209.85.210.48]) by mx1-ec2-va.apache.org (ASF Mail Server at mx1-ec2-va.apache.org) with ESMTPS id E8C70BC9CC for ; Tue, 8 Oct 2019 01:50:44 +0000 (UTC) Received: by mail-ot1-f48.google.com with SMTP id 41so12735398oti.12 for ; Mon, 07 Oct 2019 18:50:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:message-id:in-reply-to:references:subject:mime-version; bh=EDHoj+pKf3DfVFa+j3Ajn7s3MQkNz6ZQ0fCoCkC4kMM=; b=WaPaaLrhnrVlapihc0Lwzq0tX+eRQb2XPSZ3iYocgDasuQGrXP2HQbTb4S0ipz0XYZ I6pNRJALFhkgOraJGHIAaCw2oOslYf7wFWcODrxkzB9WgDxmMqwVIWOKsJ4jYOclm2iM Wa3GO24JjiRnHIEYKdudaGrFgJBMaYFMGaWpKVyA/M/Lg9bX5c/OiCWxxVXwMh6C4jh8 WPd8WdmsJP4M61WNa3NjytI/KouU6do+SZPoYDL+i5ltxxunqf8X2NQxordzV5lztnSa 4H25/26TiOGEjMrDLNYJmY6mHTBzL+BjZSvToXIbjDdZIVnOzlhbPHT3tG/wzwzmE7Pb 2LNA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:message-id:in-reply-to:references :subject:mime-version; bh=EDHoj+pKf3DfVFa+j3Ajn7s3MQkNz6ZQ0fCoCkC4kMM=; b=RI4nzg/5GTNVlEIlFCDkYN68lJew/r/rtUSgG7+BWycm626NTB8B3pRXmVSzdhVJ3o 7XeIDxbSIkP27MJD2kNYk+3k8koyH5k6xNgTscwbwJ25TTfsOaRLSygYkP02yj2SS0g0 QpkIp3ZkQmYh8HZAyUupOV7MH0Km7QUq0uNO+YazMwmmqJ9CMrMO0ucZeGcjSUvS+/Es gSdvRoiW++AD2RD3jPQBDJzM0xHXxj0HiGoa5JNbn1Sw03W9XKJ5+JlrpAcCQ3I6rDp6 n6zgjIejaNKeN7gRf1mBXdoBGha3q+Fgq6aIbE/WxuIC/8DUQJbgPrL4TzTXyNb/nNY0 X0QQ== X-Gm-Message-State: APjAAAUvJvm7Vr1ghdC9spTf1dAx+ruH24nMtyzRDMuzpSiQbsMktCJ5 jNzq3maCqYRFnPjs4xerylJBL17vUCY= X-Google-Smtp-Source: APXvYqy8CGwXN2ohZiLi6n8ZEPVAg9woytPvaTW5vX1uqMFtXV6X/7JI3nFwSdlghlDjH+1j80aaAA== X-Received: by 2002:a9d:3782:: with SMTP id x2mr10818597otb.235.1570499444193; Mon, 07 Oct 2019 18:50:44 -0700 (PDT) Received: from [30.5.25.97] ([205.204.117.24]) by smtp.gmail.com with ESMTPSA id 34sm5350497ots.47.2019.10.07.18.50.42 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 07 Oct 2019 18:50:43 -0700 (PDT) Date: Tue, 8 Oct 2019 09:50:35 +0800 From: Danny Chan To: dev@calcite.apache.org Message-ID: <21240a3d-6862-4cca-a782-5c009844bffc@Spark> In-Reply-To: References: Subject: Re: how to return dates in java/enumerable convention? X-Readdle-Message-ID: 21240a3d-6862-4cca-a782-5c009844bffc@Spark MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="5d9beb70_579478fe_13ea4" --5d9beb70_579478fe_13ea4 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline >In most cases the internal representation of date objects in the Enumera= ble >convention are longs =5B1=5D. =46or the reference you give, date object is Integer internal instead of = long. Best, Danny Chan =E5=9C=A8 2019=E5=B9=B410=E6=9C=886=E6=97=A5 +0800 PM2:57=EF=BC=8Cdev=40c= alcite.apache.org=EF=BC=8C=E5=86=99=E9=81=93=EF=BC=9A > > In most cases the internal representation of date objects in the Enumer= able > convention are longs =5B1=5D. --5d9beb70_579478fe_13ea4--