impala-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alex Behm (Code Review)" <>
Subject [Impala-CR](cdh5-trunk) PREVIEW: Basic column-wise slot materialization in Parquet scanner.
Date Fri, 15 Apr 2016 07:38:40 GMT
Alex Behm has posted comments on this change.

Change subject: PREVIEW: Basic column-wise slot materialization in Parquet scanner.

Patch Set 1:

(1 comment)
File be/src/exec/

Line 325:         continue_execution = ReadValue(pool, tuple);
> Good idea. As discussed I will give this a try. I'll make this change in it
I think it only works if we have an instance to call the function on, i.e. we cannot just
do ReaderType::ReadValue() but we'd have to static_cast<ReaderType*>(this)->ReadValue()
which becomes more more painful to implement because we'll need *Impl versions of NextLevels()
and ReadValue().

You can try it for yourself with this test program:

#include <iostream>

class Base {
  virtual void vfunc() = 0;

  template<typename CONCRETE_TYPE>
  void tfunc() {
    std::cout << "Called tfunc";

  void sfunc() {
  	std::cout << "Called Base sfunc";

class Derived : public Base {
  virtual void vfunc() {
  void sfunc() {
  	std::cout << "Called Derived sfunc";

int main() {

  Base* b = new Derived();
  delete b;

  std::cout << "DONE" << std::endl;
  return 0;

To view, visit
To unsubscribe, visit

Gerrit-MessageType: comment
Gerrit-Change-Id: I72a613fa805c542e39df20588fb25c57b5f139aa
Gerrit-PatchSet: 1
Gerrit-Project: Impala
Gerrit-Branch: cdh5-trunk
Gerrit-Owner: Alex Behm <>
Gerrit-Reviewer: Alex Behm <>
Gerrit-Reviewer: Mostafa Mokhtar <>
Gerrit-Reviewer: Tim Armstrong <>
Gerrit-HasComments: Yes

View raw message